Skip to content

StdinConsume

How a stdin-enabled input shares the stream with the command's other inputs.

  • 'exclusive' — this input is the command's only stdin consumer, and a second exclusive consumer is a schema error

  • 'broadcast' — every broadcast consumer on the command receives the same buffer

  • Import: @kjanat/dreamcli

  • Export kind: type

  • Declared in: src/core/schema/stdin.ts

  • Source link: src/core/schema/stdin.ts:39

Signatures

ts
type StdinConsume = typeof STDIN_CONSUMES[number];

See Also

Released under the MIT License.