wmtools/src/dispatcher.nim

17 lines
275 B
Nim
Raw Normal View History

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