about summary refs log tree commit diff
path: root/bin/tootctl
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-08-25 13:25:39 +0200
committerGitHub <noreply@github.com>2018-08-25 13:25:39 +0200
commit793eea29823a44fd4950f87898ecf0ff3b49351d (patch)
tree3b8f21b5d4fa500d50a3e014140166348c1c1e17 /bin/tootctl
parentb4fc810bc34eb58e2c9e6c5abb2de2d6d9390a9b (diff)
Add improved CLI interface for removing remote media (#8411)
./bin/tootctl media remove --days 7 --background

Make the old rake task point to it
Diffstat (limited to 'bin/tootctl')
-rwxr-xr-xbin/tootctl4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/tootctl b/bin/tootctl
new file mode 100755
index 000000000..2fe02523a
--- /dev/null
+++ b/bin/tootctl
@@ -0,0 +1,4 @@
+#!/usr/bin/env ruby
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative '../lib/cli'
+Mastodon::CLI.start(ARGV)