def err.find.go

shake@0.7.0.0 · src/cli.bend:2188

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

2188# the argument named `name` on the deepest page a path walks through that
2189# has one, else `best`
2190def err.find.go(path: List<&2, String>, +how: How, +name: String, best: Maybe<&2, Arg>) -> Maybe<&2, Arg>:
2191  match path:
2192    case Nil{}:
2193      err.find.here(by_name(help.how_args(how), name), best)
2194    case Con{+hh, tt}:
2195      err.find.go(tt, help.step(how, hh), name, err.find.here(by_name(help.how_args(how), name), best))

Uses (9)

Used by (1)