def help.pos.one

shake@0.7.0.0 · src/cli.bend:1928

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

1928# a positional in a usage line: `<NAME>` or `[NAME]`, plus `...` when rest
1929def help.pos.one(aa: Arg) -> String:
1930  Arg{+n, _s, _l, kind, _h, +req, _d, _c} = aa
1931  help.pos.wrap(req, String.to_upper(n)) ++ help.pos.dots(rest.is.kind(kind))

Uses (7)

Used by (2)