Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dax/mod.ts>CommandBuilder#printCommand

Cross-platform shell tools for Deno and Node.js inspired by zx.
Very Popular
Latest
method CommandBuilder.prototype.printCommand
Re-export
import { CommandBuilder } from "https://deno.land/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

Parameters

optional
value = [UNSUPPORTED]