Skip to content

StdinBindingFragmentV1 ​

Stdin binding of a flag or arg fragment.

Both fields are always written, so a document states the trigger and the sharing mode without a reader having to know the builder's defaults.

Signatures ​

ts
type StdinBindingFragmentV1 = unknown;

Members ​

Properties ​

consume ​

ts
consume: "exclusive" | "broadcast";

when ​

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

See Also ​

Released under the MIT License.