def help.go

shake@0.7.0.0 · src/cli.bend:2110

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

2110# the page at the end of a shrinking path
2111def help.go(path: List<&2, String>, how: How) -> String:
2112  match path:
2113    case Nil{}:
2114      How{+bin, +about, +version, +args, +subs, +usage} = how
2115      +all = help.with(args, version)
2116      help.page(title.go(bin, version), about, help.usage(usage, all, subs), all, subs)
2117    case Con{+h, t}:
2118      help.go(t, help.step(how, h))

Uses (8)

Used by (1)