Skip to content

StdinBindingFragmentV1 ​

Stdin binding of a flag or arg fragment.

The trigger, sharing mode, and trimming are always written. argv is written only when false, preserving the default command-line behavior of older documents.

Signatures ​

ts
type StdinBindingFragmentV1 = { when: "dash" | "missing" | "dash-or-missing"; consume: "exclusive" | "broadcast"; trim: boolean; argv?: false; };

Members ​

Members ​

when ​

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

consume ​

ts
consume: "exclusive" | "broadcast";

trim ​

ts
trim: boolean;

argv ​

ts
argv?: false;

See Also ​

Released under the MIT License.