Out.convert: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/fmt/out.bend as Out Lines 148-155 of cswap-bend-cli@0.1.0.0/fmt/out.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/fmt/out.bend&start_line=148&end_line=155 import Base import cswap-bend-cli@0.1.0.0/cmd.bend as Cmd # The command's output in format `f` (text leaves it alone, and so does json # when the command already printed JSON: that output is the --json output). def convert(f: Fmt, key: String, +o: Cmd.Out) -> Cmd.Out: match f: case FText{}: o case _: conv(f, key, o, doc_of(o)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/cmd.bend&name=Out https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fmt/out.bend&name=Fmt https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fmt/out.bend&name=conv https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fmt/out.bend&name=doc_of