Module

x/dax/src/command.ts>CommandBuilder#printCommand

Cross-platform shell tools for Deno and Node.js inspired by zx.
Very Popular
Latest
method CommandBuilder.prototype.printCommand
import { CommandBuilder } from "https://dotland.deno.dev/x/dax@0.39.2/src/command.ts";

Prints the command text before executing the command.

For example:

const text = "example";
await $`echo ${text}`.printCommand();

Outputs:

> echo example
example

Parameters

optional
value = [UNSUPPORTED]