def outcome_accepted
import cli@0.2.0.0/cli.bend as Cliimport Base
7664# V6: the completions built-in prints its script and man its page, plain;
7665# any other path is left to decode.
7666def outcome_accepted(builtin: Maybe<&2, String>, c: Cmd,
7667 path: List<&2, String>, fields: List<&2, Field>,
7668 external: Maybe<&2, ExternalArgs>) -> Outcome:
7669 match builtin:
7670 case Some{name}: Shown{0, builtin_page(String.eq(name, "man"), c, fields), ""}
7671 case None{}: Matched{Matches{c, path, fields, external}}