43 lines
809 B
Nim
43 lines
809 B
Nim
|
|
import common
|
|
import util/furrytime
|
|
import util/pingclock
|
|
import util/batturry
|
|
import util/volurrme
|
|
import util/netwurrk
|
|
import util/emurrji
|
|
import util/calendurr
|
|
import util/remminurr
|
|
import util/passwurrd
|
|
import util/pw_generaturr
|
|
import util/temperaturr
|
|
import util/screenshurrt
|
|
|
|
proc dispatch*(cfg: Config) =
|
|
case cfg.run
|
|
of FurryTime:
|
|
furrytime.go()
|
|
of PingClock:
|
|
pingclock.go()
|
|
of Batturry:
|
|
batturry.go()
|
|
of Volurrme:
|
|
volurrme.go()
|
|
of Netwurrk:
|
|
netwurrk.go()
|
|
of Emurrji:
|
|
emurrji.go()
|
|
of Calendurr:
|
|
calendurr.go()
|
|
of Remminurr:
|
|
remminurr.go()
|
|
of Passwurrd:
|
|
passwurrd.go()
|
|
of PasswurrdGeneraturr:
|
|
pw_generaturr.go()
|
|
of Temperaturr:
|
|
temperaturr.go()
|
|
of Screenshurrt:
|
|
screenshurrt.go()
|
|
else:
|
|
echo "No valid run command given"
|