Skip to content

StdinWhen

When a stdin-enabled input reads the stdin stream.

  • 'dash' — only an explicit - selects stdin; an absent input falls through to the later sources

  • 'missing' — only an absent input selects stdin; a - stays the literal string '-'

  • 'dash-or-missing' — both select stdin

  • Import: @kjanat/dreamcli

  • Export kind: type

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

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

Signatures

ts
type StdinWhen = typeof STDIN_WHENS[number];

See Also

Released under the MIT License.