def parse.choices

shake@0.7.0.0 · src/cli.bend:605

import shake@0.7.0.0/src/cli.bend as Cli
import Base

605# the choices of a found Arg, or none
606def parse.choices(mm: Maybe<&2, Arg>) -> List<&2, String>:
607  match mm:
608    case None{}:
609      []
610    case Some{a}:
611      Arg{_n, _s, _l, _k, _h, _r, _d, cs} = a
612      cs

Uses (4)

Used by (1)