about summary refs log tree commit diff
path: root/lib/cli.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cli.rb')
-rw-r--r--lib/cli.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/cli.rb b/lib/cli.rb
new file mode 100644
index 000000000..7e82806b6
--- /dev/null
+++ b/lib/cli.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+require 'thor'
+require_relative 'mastodon/media_cli'
+
+module Mastodon
+  class CLI < Thor
+    desc 'media SUBCOMMAND ...ARGS', 'manage media files'
+    subcommand 'media', Mastodon::MediaCLI
+  end
+end