def refused
cswap-bend-cli@0.1.0.0 · rpcmsg.bend:115
import cswap-bend-cli@0.1.0.0/rpcmsg.bend as Rpcmsg
import Base
115def refused(+v: String) -> String:
116 Bool.pick(String, String.eq(v, "auto"), "auto is not available over rpc: the poller is the one decider (run `cswap auto`)",
117 Bool.pick(String, String.eq(v, "tui") || String.eq(v, "watch"), "interactive commands are not available over rpc",
118 Bool.pick(String, String.eq(v, "menubar"), "menubar is not supported in cswap-bend", "unknown command")))