def usage.go

shake@0.7.0.0 · src/cli.bend:2125

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

2125# the usage line of the page at the end of a shrinking path
2126def usage.go(path: List<&2, String>, how: How) -> String:
2127  match path:
2128    case Nil{}:
2129      How{_b, _a, version, +args, +subs, +usage} = how
2130      help.usage(usage, help.with(args, version), subs)
2131    case Con{+hh, tt}:
2132      usage.go(tt, help.step(how, hh))

Uses (6)

Used by (1)