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