Skip to content

StdinBinding

The normalized stdin axis of a flag or an arg.

Signatures

ts
interface StdinBinding {}

Members

Properties

consume

Whether this input consumes the stream alone.

ts
consume: "exclusive" | "broadcast";

trim

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

ts
trim: boolean;

when

When this input reads the stdin stream.

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

See Also

Released under the MIT License.