def many
import shake@0.7.0.0/src/cli.bend as Cliimport Base
162# an option that may be given more than once; `get_all` reads every value
163def many( # noqa: L001 a builder: its result is the Arg or Sub it names, nothing to state
164 +name: String,
165 short: Maybe<&2, String>,
166 long: Maybe<&2, String>,
167 +help: String,
168 required: Bool,
169 default: Maybe<&2, String>,
170 choices: List<&2, String>
171) -> Arg:
172 Arg{name, short, long, Many{}, help, required, Fallback{None{}, default}, choices}