def split.end2

cswap-bend-cli@0.1.0.0 · profflag.bend:63

import cswap-bend-cli@0.1.0.0/profflag.bend as Profflag
import Base

63def split.end2(+pending: Bool, +rest: List<&2, String>, +over: Maybe<&2, String>, +err: String) -> Split:
64  match pending:
65    case True{}:
66      Split{List.reverse(&2, String, rest), over, "argument --profile: expected one argument", False{}}
67    case False{}:
68      Split{List.reverse(&2, String, rest), over, err, False{}}

Uses (6)

Used by (1)