def var_found

cli@0.2.0.0 · run.bend:65

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

65def var_found(name: String,
66    got: Result<&1, &1, U32 & String, String>) -> List<&2, Cli.Var>:
67  match got:
68    case Done{value}: [Cli.Var{name, value}]
69    case Fail{e}: []

Uses (6)

Used by (1)