Skip to content

StdinBindingFragmentV1 ​

Stdin binding of a flag or arg fragment.

Every field is always written, so a document states the trigger, the sharing mode, and the trimming without a reader having to know the builder's defaults.

Signatures ​

ts
type StdinBindingFragmentV1 = unknown;

Members ​

Properties ​

consume ​

ts
consume: "exclusive" | "broadcast";

trim ​

ts
trim: boolean;

when ​

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

See Also ​

Released under the MIT License.