def free

cswap-bend-cli@0.1.0.0 · gflags.bend:52

import cswap-bend-cli@0.1.0.0/gflags.bend as Gflags
import Base

52def free(+keep_fmt: Bool, +h: String, +g: G) -> G:
53  sel.g(Bool.not(keep_fmt) && String.eq(h, "--format"), pend(g),
54  sel.g(Bool.not(keep_fmt) && String.starts_with(h, "--format="), with_fmt(g, String.drop(h, 9n)),
55  sel.g(String.eq(h, "--no-input"), with_noin(g),
56  sel.g(String.eq(h, "--yes"), with_yes(g),
57  keep(h, g)))))

Uses (14)

Used by (1)