mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-22 06:43:19 +00:00
14 lines
274 B
Ruby
Executable file
14 lines
274 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
APP_PATH = File.expand_path('../config/application', __dir__)
|
|
|
|
require_relative '../config/boot'
|
|
require_relative '../lib/mastodon/cli/main'
|
|
|
|
begin
|
|
Chewy.strategy(:mastodon) do
|
|
Mastodon::CLI::Main.start(ARGV)
|
|
end
|
|
rescue Interrupt
|
|
exit(130)
|
|
end
|