def scope_find_sub

cli@0.2.0.0 · cli.bend:3448

import cli@0.2.0.0/cli.bend as Cli
import Base

3448def scope_find_sub(scope: Scope, query: String) -> Maybe<&2, SubKey>:
3449  match scope:
3450    case Scope{path, Spec{keys, args, slots, variadic, subs, has_sub,
3451        external, needs_sub, version, digit_short, inherit}}:
3452      find_sub_key(subs, query, None{})

Uses (6)

Used by (2)