def scope_version

cli@0.2.0.0 · cli.bend:3244

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

3244def scope_version(scope: Scope) -> Bool:
3245  match scope:
3246    case Scope{path, Spec{keys, args, slots, variadic, subs, has_sub,
3247        external, needs_sub, version, digit_short, inherit}}:
3248      Bool.and(List.is_empty(&2, String, path), version)

Uses (6)

Used by (2)