wmtools/src/dispatcher.nim

29 lines
491 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 22:02:52 +00:00
import util/volurrme
2023-11-23 09:27:54 +00:00
import util/netwurrk
2023-11-23 09:41:16 +00:00
import util/emurrji
2023-11-23 09:50:15 +00:00
import util/calendurr
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 22:02:52 +00:00
of Volurrme:
volurrme.go()
2023-11-23 09:27:54 +00:00
of Netwurrk:
netwurrk.go()
2023-11-23 09:41:16 +00:00
of Emurrji:
emurrji.go()
2023-11-23 09:50:15 +00:00
of Calendurr:
calendurr.go()
2023-11-22 21:19:37 +00:00
else:
echo "No valid run command given"