def decoded

cli@0.2.0.0 · cli.bend:7743

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

7743# V7: Done is Go with term's decisions; a fault exits 70 or 2.
7744def decoded(-A: Type, d: Dec(A), cmd: Cmd, path: List<&2, String>, h: Host,
7745    argv: List<&2, String>) -> Step<A>:
7746  match d:
7747    case Done{a}: Go{a, term(cmd, h, argv)}
7748    case Fail{f}: faulted(A, f, cmd, path, h, argv)

Uses (9)

Used by (1)