~edwardloveall/scribe

scribe/tasks.cr -rw-r--r-- 236 bytes
931636ebEdward Loveall Add Tor instance 2 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
# https://luckyframework.org/guides/command-line-tasks/custom-tasks

ENV["LUCKY_TASK"] = "true"

require "./src/app"
require "lucky_task"
require "./tasks/**"
require "./db/migrations/**"
require "lucky/tasks/**"

LuckyTask::Runner.run