def help.cmd_lines
import shake@0.7.0.0/src/cli.bend as Cliimport Base
1907# command lines, then `help`
1908def help.cmd_lines(subs: List<&2, Sub>, +ww: Nat) -> String:
1909 match subs:
1910 case Nil{}:
1911 help.cmd_line("help",
1912 "Print this message or the help of the given subcommand(s)", ww)
1913 case Con{+h, t}:
1914 help.cmd_line(help.sub_name(h), help.sub_about(h), ww) ++ help.cmd_lines(t, ww)