Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/tools/release/deps.ts>dax.CommandBuilder#quiet

A modern runtime for JavaScript and TypeScript.
Go to Latest
method dax.CommandBuilder.prototype.quiet
Re-export
import { dax } from "https://deno.land/x/deno@v1.38.4/tools/release/deps.ts";
const { CommandBuilder } = dax;

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]