def scope_option_known

cli@0.2.0.0 · cli.bend:2949

import cli@0.2.0.0/cli.bend as Cli
import 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))

Uses (6)

Used by (1)