def conv2
import cswap-bend-cli@0.1.0.0/fmt/out.bend as Outimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/cmd.bend as Cmd
136def conv2(f: Fmt, key: String, o: Cmd.Out, j: Json.Json) -> Cmd.Out:
137 match o:
138 case Cmd.Out{+code, out, err}:
139 Cmd.Out{code, render(f, key, j), keep_err(code, out, err)}