Clilist.status_out2: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/clilist.bend as Clilist Lines 230-235 of cswap-bend-cli@0.1.0.0/clilist.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/clilist.bend&start_line=230&end_line=235 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 import cswap-bend-cli@0.1.0.0/view.bend as View def status_out2(+json: Bool, +a: View.Acct, models: List<&2, String>, +seq: Json.Json, +now: U32, +off: U32) -> Cmd.Out: match json: case True{}: Cmd.doc(Json.of_pairs([("schemaVersion", Json.JNum{"1"}), ("active", status_row(a, models, now, off)), ("totalManagedAccounts", total_of(seq))])) case False{}: Cmd.Out{0, status_text(a, total_of(seq), now, off), ""} Uses (13): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/clilist.bend&name=status_row https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/clilist.bend&name=status_text https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/clilist.bend&name=total_of 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/cmd.bend&name=doc 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=of_pairs https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/view.bend&name=Acct