def with_interval
import cswap-bend-cli@0.1.0.0/tui/run.bend as Runimport Base
42def with_interval(+o: Opts, +v: Maybe<&2, U32>) -> Opts:
43 match v:
44 case None{}:
45 with_bad(o, "--interval needs a whole number of seconds")
46 case Some{n}:
47 set_interval(o, n)