def by_long.at

shake@0.7.0.0 · src/cli.bend:287

import shake@0.7.0.0/src/cli.bend as Cli
import Base

287# this Arg when the long spelling matches, else the rest
288def by_long.at(hit: Bool, hh: Arg, rest: Maybe<&2, Arg>) -> Maybe<&2, Arg>:
289  match hit:
290    case True{}:
291      Some{hh}
292    case False{}:
293      rest

Uses (3)

Used by (1)