def show_text2
import cswap-bend-cli@0.1.0.0/profcmd.bend as Profcmdimport Base
import cswap-bend-cli@0.1.0.0/profview.bend as PV
68def show_text2(+r: PV.Row) -> String:
69 match r:
70 case PV.Row{m, n, s, t, ms, c, i, src}:
71 "name: " ++ n ++ "\nstrategy: " ++ s ++ "\nthreshold: " ++ t ++ "\nmodels: " ++ ms ++ "\ncooldown_s: " ++ c ++ "\ninterval_s: " ++ i ++ "\nsource: " ++ src ++ "\nactive: " ++ yes_no(String.eq(m, "*"))