Cli.help.go: def of shake@0.7.0.0 Import: import shake@0.7.0.0/src/cli.bend as Cli Lines 2110-2118 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=2110&end_line=2118 import Base # the page at the end of a shrinking path def help.go(path: List<&2, String>, how: How) -> String: match path: case Nil{}: How{+bin, +about, +version, +args, +subs, +usage} = how +all = help.with(args, version) help.page(title.go(bin, version), about, help.usage(usage, all, subs), all, subs) case Con{+h, t}: help.go(t, help.step(how, h)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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=How https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=help.page https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=help.step https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=help.usage https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=help.with https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=title.go