mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-25 01:24:02 -05:00
14 lines
254 B
Ruby
Executable File
14 lines
254 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
APP_PATH = File.expand_path('../config/application', __dir__)
|
|
|
|
require_relative '../config/boot'
|
|
require_relative '../lib/cli'
|
|
|
|
begin
|
|
Chewy.strategy(:mastodon) do
|
|
Mastodon::CLI.start(ARGV)
|
|
end
|
|
rescue Interrupt
|
|
exit(130)
|
|
end
|