Cli.resolve.with: def of shake@0.8.0.0 Import: import shake@0.8.0.0/src/cli.bend as Cli Lines 1599-1611 of shake@0.8.0.0/src/cli.bend: https://jend.leeeet.dev/read.txt?path=shake@0.8.0.0/src/cli.bend&start_line=1599&end_line=1611 import Base # a fallback with its default replaced by what the env value gives, when # there is one def resolve.with( found: Maybe<&2, String>, kk: ArgKind, ev: Maybe<&2, String>, dd: Maybe<&2, String> ) -> Fallback: match found: case None{}: Fallback{ev, dd} case Some{+vv}: Fallback{ev, env.kind(kk, vv)} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=shake@0.8.0.0/src/cli.bend&name=ArgKind https://jend.leeeet.dev/definition.txt?path=shake@0.8.0.0/src/cli.bend&name=Fallback https://jend.leeeet.dev/definition.txt?path=shake@0.8.0.0/src/cli.bend&name=env.kind