Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.63/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.