def pos

shake@0.7.0.0 · src/cli.bend:174

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

174# a positional
175def pos(  # noqa: L001 a builder: its result is the Arg or Sub it names, nothing to state
176  +name: String,
177  +help: String,
178  required: Bool,
179  default: Maybe<&2, String>,
180  choices: List<&2, String>
181) -> Arg:
182  Arg{name, None{}, None{}, Pos{}, help, required, Fallback{None{}, default}, choices}

Uses (7)

Used by (1)