def faulted

cli@0.2.0.0 · cli.bend:7736

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

7736def faulted(-A: Type, f: Fault, +cmd: Cmd, path: List<&2, String>, h: Host,
7737    argv: List<&2, String>) -> Step<A>:
7738  match f:
7739    case Bug{msg}: Quit{70, "", String.concat(["bug: ", msg, "\n"])}
7740    case Usage{msg}:
7741      Quit{2, "", usage_err(term(cmd, h, argv), msg, view_of(cmd, path))}

Uses (10)

Used by (1)