Profcmd.show_text2: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/profcmd.bend as Profcmd Lines 68-71 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=68&end_line=71 import Base import cswap-bend-cli@0.1.0.0/profview.bend as PV def show_text2(+r: PV.Row) -> String: match r: case PV.Row{m, n, s, t, ms, c, i, src}: "name: " ++ n ++ "\nstrategy: " ++ s ++ "\nthreshold: " ++ t ++ "\nmodels: " ++ ms ++ "\ncooldown_s: " ++ c ++ "\ninterval_s: " ++ i ++ "\nsource: " ++ src ++ "\nactive: " ++ yes_no(String.eq(m, "*")) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/profcmd.bend&name=yes_no https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/profview.bend&name=Row