Cli.outcome_accepted: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 7664-7671 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=7664&end_line=7671 import Base # V6: the completions built-in prints its script and man its page, plain; # any other path is left to decode. def outcome_accepted(builtin: Maybe<&2, String>, c: Cmd, path: List<&2, String>, fields: List<&2, Field>, external: Maybe<&2, ExternalArgs>) -> Outcome: match builtin: case Some{name}: Shown{0, builtin_page(String.eq(name, "man"), c, fields), ""} case None{}: Matched{Matches{c, 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=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.eq 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=ExternalArgs https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Field 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=Outcome https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=builtin_page