about summary refs log tree commit diff
path: root/lib/cli.rb
blob: c7dae027655d32811df18a1d0fd24ad5c5287f20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require 'thor'
require_relative 'mastodon/media_cli'
require_relative 'mastodon/emoji_cli'

module Mastodon
  class CLI < Thor
    desc 'media SUBCOMMAND ...ARGS', 'manage media files'
    subcommand 'media', Mastodon::MediaCLI

    desc 'emoji SUBCOMMAND ...ARGS', 'manage custom emoji'
    subcommand 'emoji', Mastodon::EmojiCLI
  end
end