def flag

shake@0.7.0.0 · main.bend:71

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

71# a boolean flag
72def flag(  # noqa: L001 a builder: its result is the Arg or Sub it names, nothing to state
73  +name: String,
74  short: Maybe<&2, String>,
75  long: Maybe<&2, String>,
76  +help: String
77) -> S.Arg:
78  S.flag(name, short, long, help)

Uses (4)

Used by (2)