Cli.belongs: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 5942-5947 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=5942&end_line=5947 import Base def belongs(found: Maybe<&2, String>, token: String) -> List<&2, List<&2, Segment>>: match found: case None{}: Nil{} case Some{path}: tip(String.concat(["'", token, "' belongs to subcommand '", path, "'"])) Uses (6): 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=Base/base.bend&name=String.concat https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Segment https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=tip