Skip to content

StdinOptions ​

Stdin settings accepted by .stdin() and by the schema definitions.

Signatures ​

ts
interface StdinOptions {}

Members ​

Properties ​

consume ​

Whether this input consumes the stream alone.

ts
consume?: "exclusive" | "broadcast";

when ​

When this input reads the stdin stream.

ts
when?: "dash" | "missing" | "dash-or-missing";

See Also ​

Released under the MIT License.