def parse_flags

cswap-bend-cli@0.1.0.0 · daemon/config.bend:347

import cswap-bend-cli@0.1.0.0/daemon/config.bend as Config
import Base

347# The flags of `cswap auto` (after the verb). Exit 2 territory on Fail.
348def parse_flags(+args: List<&2, String>) -> Result<&2, &2, String, Flags>:
349  step(Nat.add(List.length(&2, String, args), 1n), normalize(args), Done{no_flags()})

Uses (9)

Used by (2)