Skip to main content
Module

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

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

Returns

CommandBuilder