This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2018-08-25 04:25:39 -07:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
APP_PATH = File.expand_path('../config/application', __dir__)
|
2020-05-15 09:41:27 -07:00
|
|
|
|
2018-09-06 20:42:54 -07:00
|
|
|
require_relative '../config/boot'
|
2018-08-25 04:25:39 -07:00
|
|
|
require_relative '../lib/cli'
|
2020-05-15 09:41:27 -07:00
|
|
|
|
|
|
|
begin
|
2023-03-12 15:47:55 -07:00
|
|
|
Chewy.strategy(:mastodon) do
|
|
|
|
Mastodon::CLI.start(ARGV)
|
|
|
|
end
|
2020-05-15 09:41:27 -07:00
|
|
|
rescue Interrupt
|
|
|
|
exit(130)
|
|
|
|
end
|