Cli.route_pick: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 4877-4884 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=4877&end_line=4884 import Base def route_pick(-A: Type, routes: (List<&2, String> & List), m: Matches) -> Dec(A): (+keys, calls) = routes match m: case Matches{+cmd, +path, fields, external}: route_found(A, find_by_key(&1, Call(A), keys, calls, String.join(path, " ")), keys, cmd, path, Matches{cmd, path, fields, external}) 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=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.join https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Call https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Dec https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Matches https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=find_by_key https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=route_found