|
|
@ -7,6 +7,7 @@ require_relative 'mastodon/accounts_cli'
|
|
|
|
require_relative 'mastodon/feeds_cli'
|
|
|
|
require_relative 'mastodon/feeds_cli'
|
|
|
|
require_relative 'mastodon/settings_cli'
|
|
|
|
require_relative 'mastodon/settings_cli'
|
|
|
|
require_relative 'mastodon/domains_cli'
|
|
|
|
require_relative 'mastodon/domains_cli'
|
|
|
|
|
|
|
|
require_relative 'mastodon/version'
|
|
|
|
|
|
|
|
|
|
|
|
module Mastodon
|
|
|
|
module Mastodon
|
|
|
|
class CLI < Thor
|
|
|
|
class CLI < Thor
|
|
|
@ -31,5 +32,12 @@ module Mastodon
|
|
|
|
|
|
|
|
|
|
|
|
desc 'domains SUBCOMMAND ...ARGS', 'Manage account domains'
|
|
|
|
desc 'domains SUBCOMMAND ...ARGS', 'Manage account domains'
|
|
|
|
subcommand 'domains', Mastodon::DomainsCLI
|
|
|
|
subcommand 'domains', Mastodon::DomainsCLI
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
map %w(--version -v) => :version
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
desc 'version', 'Show version'
|
|
|
|
|
|
|
|
def version
|
|
|
|
|
|
|
|
say(Mastodon::Version.to_s)
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|