]> cat aescling's git repositories - mastodon.git/blobdiff - lib/mastodon/media_cli.rb
cli: set exit_on_failure for all CLI classes (#9094)
[mastodon.git] / lib / mastodon / media_cli.rb
index 8aa9f790391fc644f4b57e40b17afc5086278a21..95d2a8d64d306d8b584322959368d3dbca37c826 100644 (file)
@@ -6,6 +6,9 @@ require_relative 'cli_helper'
 
 module Mastodon
   class MediaCLI < Thor
+    def self.exit_on_failure?
+      true
+    end
     option :days, type: :numeric, default: 7
     option :background, type: :boolean, default: false
     option :verbose, type: :boolean, default: false
This page took 0.027492 seconds and 3 git commands to generate.