def config
cswap-bend-cli@0.1.0.0 · cfgio.bend:360
import cswap-bend-cli@0.1.0.0/cfgio.bend as Cfgio
import Base
import cswap-bend-cli@0.1.0.0/cmd.bend as Cmd
import cswap-bend-cli@0.1.0.0/setcmd.bend as Setcmd
import cswap-bend-cli@0.1.0.0/clibase.bend as Clibase
360
361def config(+root: String, args: List<&2, String>, json: Bool, noin: Bool) -> IO(Cmd.Out):
362 match args:
363 case Nil{}:
364 Setcmd.config(root, Clibase.affine(args), json)
365 case Con{+h, +t}:
366 config2(root, h, t, Con{h, t}, json, noin)