0
0
Fork 0

Add improved CLI interface for removing remote media (#8411)

./bin/tootctl media remove --days 7 --background

Make the old rake task point to it
This commit is contained in:
Eugen Rochko 2018-08-25 13:25:39 +02:00 committed by GitHub
parent b4fc810bc3
commit 793eea2982
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 68 additions and 11 deletions

4
bin/tootctl Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env ruby
APP_PATH = File.expand_path('../config/application', __dir__)
require_relative '../lib/cli'
Mastodon::CLI.start(ARGV)