2018-08-25 20:25:39 +09:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'thor'
|
|
|
|
require_relative 'mastodon/media_cli'
|
2018-08-26 23:53:06 +09:00
|
|
|
require_relative 'mastodon/emoji_cli'
|
2018-08-25 20:25:39 +09:00
|
|
|
|
|
|
|
module Mastodon
|
|
|
|
class CLI < Thor
|
|
|
|
desc 'media SUBCOMMAND ...ARGS', 'manage media files'
|
|
|
|
subcommand 'media', Mastodon::MediaCLI
|
2018-08-26 23:53:06 +09:00
|
|
|
|
|
|
|
desc 'emoji SUBCOMMAND ...ARGS', 'manage custom emoji'
|
|
|
|
subcommand 'emoji', Mastodon::EmojiCLI
|
2018-08-25 20:25:39 +09:00
|
|
|
end
|
|
|
|
end
|