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

x/netzo/deps/question/mod.ts>configureForUnixPipes

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function configureForUnixPipes
import { configureForUnixPipes } from "https://deno.land/x/netzo@0.5.14/deps/question/mod.ts";

Will configure the output and input used by the prompts to not use stdin and stdout files.

If no options are specified it will choose /dev/tty as its file to output and input. If only one option is specified it will be used as its input AND output.

By default it will panic if the program does not get permission from the user to read or write to the files specified in the options. This can change to a fallback mode where if the program does not get permission it will use the default.

Parameters

optional
unnamed 0: Partial<ConfigureForUnixPipesOptions> = [UNSUPPORTED]

The options to use when executing.