def read

shake@0.7.0.0 · src/check.bend:274

import shake@0.7.0.0/src/check.bend as Check
import Base
import shake@0.7.0.0/src/cli.bend as C

274# what is wrong with one read, or nothing
275def read(app: C.Cli, rr: Read) -> List<&2, ReadErr>:
276  C.Cli{+bin, +about, _v, args, subs} = app
277  Read{+path, +name, want} = rr
278  reads.at(reads.cmd(path, Some{C.Sub{bin, about, args, subs}}), want, path, name)

Uses (8)

Used by (1)