import { CommandBuilder } from "https://deno.land/x/dax@0.24.0/src/command.ts";
Prints the command text before executing the command.
For example:
const text = "example";
await $`echo ${text}`.printCommand();
Outputs:
> echo example
example
x/dax/src/command.ts>CommandBuilder#printCommand
import { CommandBuilder } from "https://deno.land/x/dax@0.24.0/src/command.ts";
Prints the command text before executing the command.
For example:
const text = "example";
await $`echo ${text}`.printCommand();
Outputs:
> echo example
example