Cli.outcome_lint: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 7689-7695 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=7689&end_line=7695 import Base def outcome_lint(found: List<&2, Problem>, +c: Cmd, +h: Host, +argv: List<&2, String>) -> Outcome: match found: case Nil{}: outcome_parse(parse(c, h, argv), c, h, argv) case p <> tail: Shown{70, "", String.append("bug: invalid command-line definition\n", problem_lines(p <> tail))} Uses (10): 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=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Cmd https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Host https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Outcome https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Problem https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=outcome_parse https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=parse https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=problem_lines