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