wmtools/src/dispatcher.nim

14 lines
221 B
Nim
Raw Normal View History

2023-11-22 21:19:37 +00:00
import common
import util/furrytime
import util/pingclock
proc dispatch*(cfg: Config) =
case cfg.run
of FurryTime:
furrytime.go()
of PingClock:
pingclock.go()
else:
echo "No valid run command given"