cli: set exit_on_failure for all CLI classes (#9094)
This commit is contained in:
		
					parent
					
						
							
								8445f77a5b
							
						
					
				
			
			
				commit
				
					
						b9d7021c1b
					
				
			
		
					 6 changed files with 19 additions and 0 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue