def scope_option_known
import cli@0.2.0.0/cli.bend as Cliimport Base
2949def scope_option_known(scope: Scope, token: String) -> Bool:
2950 match scope:
2951 case Scope{path, Spec{keys, args, slots, variadic, subs, has_sub,
2952 external, needs_sub, version, digit_short, inherit}}:
2953 key_known(keys, first_option_name(token))