Skip to content

StdinBinding ​

The normalized stdin axis of a flag or an arg.

Signatures ​

ts
interface StdinBinding {}

Members ​

Properties ​

argv ​

False when this input has no command-line form. Omitted means true.

ts
argv?: false;

when ​

When this input reads the stdin stream.

ts
when: StdinWhen;

consume ​

Whether this input consumes the stream alone.

ts
consume: StdinConsume;

trim ​

Whether one trailing line terminator is dropped from a single value.

ts
trim: boolean;

See Also ​

Released under the MIT License.