def conv2

cswap-bend-cli@0.1.0.0 · fmt/out.bend:136

import cswap-bend-cli@0.1.0.0/fmt/out.bend as Out
import 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)}

Uses (6)

Used by (1)