Profcmd.show_name: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/profcmd.bend as Profcmd Lines 90-95 of cswap-bend-cli@0.1.0.0/profcmd.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/profcmd.bend&start_line=90&end_line=95 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/profile.bend as P def show_name(+raw: Json.Json, +n: Maybe<&2, String>) -> String: match n: case Some{x}: x case None{}: Maybe.default(&2, String, P.active(raw), "default") Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.default 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/profile.bend&name=active