I'd like to provide thor tasks instead of rake tasks in a Railtie. There is a straight forward and well documented way for providing rake scripts in Railties:
class MyRailtie < Rails::Railtie
rake_tasks do
load "path/to/my_railtie.tasks"
end
end
How can I do the same for thor tasks?