Skip to content

Commit

Permalink
Add tootctl maintenance fix-duplicates (mastodon#14860, mastodon#15201,
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire committed Dec 18, 2020
1 parent bf5a966 commit e8aae11
Show file tree
Hide file tree
Showing 2 changed files with 622 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
require_relative 'mastodon/cache_cli'
require_relative 'mastodon/upgrade_cli'
require_relative 'mastodon/email_domain_blocks_cli'
require_relative 'mastodon/maintenance_cli'
require_relative 'mastodon/version'

module Mastodon
Expand Down Expand Up @@ -57,6 +58,9 @@ def self.exit_on_failure?
desc 'email_domain_blocks SUBCOMMAND ...ARGS', 'Manage e-mail domain blocks'
subcommand 'email_domain_blocks', Mastodon::EmailDomainBlocksCLI

desc 'maintenance SUBCOMMAND ...ARGS', 'Various maintenance utilities'
subcommand 'maintenance', Mastodon::MaintenanceCLI

option :dry_run, type: :boolean
desc 'self-destruct', 'Erase the server from the federation'
long_desc <<~LONG_DESC
Expand Down
Loading

0 comments on commit e8aae11

Please sign in to comment.