Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

Cross platform shell tools for Deno inspired by zx.
Extremely Popular
Go to Latest
method CommandBuilder.prototype.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

Parameters

optional
value = [UNSUPPORTED]