Line.line.group: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ez/line.bend as Line Lines 168-177 of ezx@1.11.0.0/src/ez/line.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ez/line.bend&start_line=168&end_line=177 import Base import shake@0.6.0.0/main.bend as Shake # a path that names no command: a bare `ez` is help, as a bare `cargo` is, # and a bare group such as `ez tool` is a line that did not say which of its # commands to run, as `cargo report` with no command is, so its help goes to # stderr and the line fails def line.group(bare: Bool, +app: Shake.Cli, +matched: Shake.Matched) -> Line: match bare: case True{}: Shows{Shake.help(app, [])} case False{}: Misuse{Shake.help(app, Shake.path_of(matched))} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/line.bend&name=Line https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/main.bend&name=Cli https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/main.bend&name=Matched https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/main.bend&name=help https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/main.bend&name=path_of