Cli.env.names.forest: def of shake@0.7.0.0 Import: import shake@0.7.0.0/src/cli.bend as Cli Lines 1784-1792 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=1784&end_line=1792 import Base # the env vars of every subcommand's arguments, depth first def env.names.forest(subs: List<&2, Sub>) -> List<&2, String>: match subs: case Nil{}: [] case Con{hh, tt}: Sub{_n, _a, args, kids} = hh List.append(&2, String, env.names.args(args), List.append(&2, String, env.names.forest(kids), env.names.forest(tt))) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append 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=Sub https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=env.names.args