mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
b378b4c5c7
bin/tootctl emoji import PATH_TO_TAR Fix #8435
15 lines
372 B
Ruby
15 lines
372 B
Ruby
# 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
|