2018-08-25 20:25:39 +09:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
APP_PATH = File.expand_path('../config/application', __dir__)
|
2020-05-16 01:41:27 +09:00
|
|
|
|
2018-09-07 12:42:54 +09:00
|
|
|
require_relative '../config/boot'
|
2018-08-25 20:25:39 +09:00
|
|
|
require_relative '../lib/cli'
|
2020-05-16 01:41:27 +09:00
|
|
|
|
|
|
|
begin
|
2023-03-13 07:47:55 +09:00
|
|
|
Chewy.strategy(:mastodon) do
|
|
|
|
Mastodon::CLI.start(ARGV)
|
|
|
|
end
|
2020-05-16 01:41:27 +09:00
|
|
|
rescue Interrupt
|
|
|
|
exit(130)
|
|
|
|
end
|