Req.usage.pick: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/usage/req.bend as Req Lines 125-130 of cswap-bend-cli@0.1.0.0/usage/req.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/usage/req.bend&start_line=125&end_line=130 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def usage.pick(ok: Bool, +body: String, e: Err) -> Result<&2, &2, Err, Json.Json>: match ok: case True{}: body.json(Json.parse(body)) case False{}: Fail{e} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result 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/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=parse https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/usage/req.bend&name=Err https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/usage/req.bend&name=body.json