def check

shake@0.7.0.0 · main.bend:131

import shake@0.7.0.0/main.bend as Shake
import Base
import shake@0.7.0.0/src/cli.bend as S
import shake@0.7.0.0/src/check.bend as K

131# every way a spec contradicts itself: a rest positional that is not the
132# last, a repeated argument name or spelling, a repeated subcommand name, a
133# subcommand named `help`, a default outside its choices, a required
134# positional after an optional one. Empty for a well-formed spec, which is
135# what SPEC.md's parse guarantees are about; `parse` does not call it
136def check(spec: S.Cli) -> List<&2, K.SpecErr>:
137  K.check(spec)

Uses (4)

Used by (0)

No other definition uses this definition.