about summary refs log tree commit diff
path: root/bin/tootctl
blob: 9c7ae8b87121049a21430a8d99b615e66219a281 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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