Module

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

Cross-platform shell tools for Deno and Node.js inspired by zx.
Very Popular
Latest
method CommandBuilder.prototype.quiet
import { CommandBuilder } from "https://dotland.deno.dev/x/dax@0.39.2/src/command.ts";

Ensures stdout and stderr are piped if they have the default behaviour or are inherited.

// ensure both stdout and stderr is not logged to the console
await $`echo 1`.quiet();
// ensure stdout is not logged to the console
await $`echo 1`.quiet("stdout");
// ensure stderr is not logged to the console
await $`echo 1`.quiet("stderr");

Parameters

optional
kind: "stdout" | "stderr" | "both" = [UNSUPPORTED]