Cli.help.version_row: def of shake@0.7.0.0 Import: import shake@0.7.0.0/src/cli.bend as Cli Lines 2052-2063 of shake@0.7.0.0/src/cli.bend: https://jend.leeeet.dev/read.txt?path=shake@0.7.0.0/src/cli.bend&start_line=2052&end_line=2063 import Base # the row for `--version`, and `-V` when the command does not spell it, on a # page with a version; none when the command spells long `version` def help.version_row(version: Maybe<&2, String>, long: Maybe<&2, Arg>, short: Maybe<&2, Arg>) -> List<&2, Arg>: match version: case None{}: [] case Some{_v}: match long: case None{}: [flag("version", help.spell(short, "V"), Some{"version"}, "Print version")] case Some{_a}: [] Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=Arg https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=flag https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=help.spell