def read_stdin

cswap-bend-cli@0.1.0.0 · cfgio.bend:136

import cswap-bend-cli@0.1.0.0/cfgio.bend as Cfgio
import Base
import cswap-bend-cli@0.1.0.0/act.bend as Act
import cswap-bend-cli@0.1.0.0/fs.bend as Fs

136def read_stdin(noin: Bool) -> Act.of(String):
137  match noin:
138    case True{}:
139      failed(2, "standard input is not available here; give a file")
140    case False{}:
141      Fs.read_stdin()

Uses (5)

Used by (1)