From 6f78500d4f515c65ec66416e2d78bc9ae247f91c Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 27 Oct 2018 22:56:16 +0200 Subject: Do not remove "dead" domains in tootctl accounts cull (#9108) Leave `tootctl accounts cull` to simply check removed accounts from live domains, and skip temporarily unavailable domains, while listing them in the final output for further action. Add `tootctl domains purge DOMAIN` to be able to purge a domain from that list manually --- lib/cli.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/cli.rb') diff --git a/lib/cli.rb b/lib/cli.rb index bff6d5809..a810c632a 100644 --- a/lib/cli.rb +++ b/lib/cli.rb @@ -6,6 +6,7 @@ require_relative 'mastodon/emoji_cli' require_relative 'mastodon/accounts_cli' require_relative 'mastodon/feeds_cli' require_relative 'mastodon/settings_cli' +require_relative 'mastodon/domains_cli' module Mastodon class CLI < Thor @@ -27,5 +28,8 @@ module Mastodon desc 'settings SUBCOMMAND ...ARGS', 'Manage dynamic settings' subcommand 'settings', Mastodon::SettingsCLI + + desc 'domains SUBCOMMAND ...ARGS', 'Manage account domains' + subcommand 'domains', Mastodon::DomainsCLI end end -- cgit