def remove_gate

cswap-bend-cli@0.1.0.0 · cliops.bend:199

import cswap-bend-cli@0.1.0.0/cliops.bend as Cliops
import Base
import cswap-bend-cli@0.1.0.0/store/base.bend as SBase
import cswap-bend-cli@0.1.0.0/act.bend as Act
import cswap-bend-cli@0.1.0.0/cmd.bend as Cmd

199def remove_gate(noin: Bool, +ctx: SBase.Ctx, +num: String, +email: String) -> Act.of(Cmd.Out):
200  match noin:
201    case True{}:
202      Act.fail(Cmd.Out, 2, "removing Account-" ++ num ++ " needs confirmation; pass --yes")
203    case False{}:
204      remove_ask(ctx, num, email)

Uses (8)

Used by (1)