cli: set exit_on_failure for all CLI classes (#9094)

This commit is contained in:
Sascha
2018-10-25 16:05:33 +02:00
committed by Eugen Rochko
parent 8445f77a5b
commit b9d7021c1b
6 changed files with 19 additions and 0 deletions

View File

@ -7,6 +7,9 @@ require_relative 'cli_helper'
module Mastodon
class AccountsCLI < Thor
def self.exit_on_failure?
true
end
option :all, type: :boolean
desc 'rotate [USERNAME]', 'Generate and broadcast new keys'
long_desc <<-LONG_DESC