Cli.sub_hit: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 2694-2699 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=2694&end_line=2699 import Base def sub_hit(same: Bool, name: String, +children: List<&2, Item>, query: String) -> Maybe<&2, SubFound>: match same: case True{}: Some{SubFound{name, children}} case False{}: alias_hit(has_alias(children, query, False{}), name, children) Uses (8): 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=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Item https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=SubFound https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=alias_hit https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=has_alias