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