Handle CLI failure exit status at the top-level script (#28322)
This commit is contained in:
@@ -18,6 +18,10 @@ module Mastodon
|
||||
|
||||
private
|
||||
|
||||
def fail_with_message(message)
|
||||
raise Thor::Error, message
|
||||
end
|
||||
|
||||
def pastel
|
||||
@pastel ||= Pastel.new
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user