Cli.problems: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 2348-2357 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=2348&end_line=2357 import Base def problems(c: Cmd) -> List<&2, Problem>: match c: case Cmd{+name, about, +items}: +linted = lint_items(items) List.concat(&2, Problem, [ when_problem(Bool.not(valid_command_name(name)), BadName{name, name}), command_body_issues(name, name, about, items, has_pos_item(linted)), lint(linted, name, scope_ids(linted), Nil{}, global_entries(linted), False{}, False{}, has_version_item(items), True{}), ]) Uses (15): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.concat 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=Problem https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=command_body_issues https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=global_entries https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=has_pos_item https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=has_version_item https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=lint https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=lint_items https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=scope_ids https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=valid_command_name https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=when_problem