Shape.csv_of: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/fmt/shape.bend as Shape Lines 253-257 of cswap-bend-cli@0.1.0.0/fmt/shape.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/fmt/shape.bend&start_line=253&end_line=257 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json # The CSV text of a command's document. `key` names the command shape # (list, status, config-list, profile-list, export); a document that is an # error envelope is always one wide row. def csv_of(+key: String, +j: Json.Json) -> String: Bool.pick(String, has_error(j), wide(j), by_key(key, j)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick 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/fmt/shape.bend&name=by_key https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fmt/shape.bend&name=has_error https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fmt/shape.bend&name=wide https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json