Cli.version_opts: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 6380-6386 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=6380&end_line=6386 import Base def version_opts(present: Bool, args: List<&2, Item>) -> List<&2, Opt>: match present: case True{}: [flag_opt(Bool.pick(List<&2, String>, Maybe.is_some(&2, OptFound, find_option(args, "-V")), ["--version"], ["-V", "--version"]), "Print version")] case False{}: [] Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.is_some https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Item https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Opt https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=OptFound https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=find_option https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=flag_opt