You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
655 B
23 lines
655 B
# frozen_string_literal: true
|
|
|
|
require 'thor'
|
|
require_relative 'mastodon/media_cli'
|
|
require_relative 'mastodon/emoji_cli'
|
|
require_relative 'mastodon/accounts_cli'
|
|
require_relative 'mastodon/feeds_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
|
|
|
|
desc 'accounts SUBCOMMAND ...ARGS', 'Manage accounts'
|
|
subcommand 'accounts', Mastodon::AccountsCLI
|
|
|
|
desc 'feeds SUBCOMMAND ...ARGS', 'Manage feeds'
|
|
subcommand 'feeds', Mastodon::FeedsCLI
|
|
end
|
|
end
|
|
|