lib/gzr/cli.rb in gazer-0.2.50 vs lib/gzr/cli.rb in gazer-0.2.53
- old
+ new
@@ -27,9 +27,13 @@
# Handle the application command line parsing
# and the dispatch to various command objects
#
# @api public
class CLI < Thor
+ def self.exit_on_failure?
+ true
+ end
+
class_option :debug, type: :boolean, default: false, desc: 'Run in debug mode'
class_option :host, type: :string, default: 'localhost', desc: 'Looker Host'
class_option :port, type: :string, default: '19999', desc: 'Looker API Port'
class_option :client_id, type: :string, desc: 'API3 Client Id'
class_option :client_secret, type: :string, desc: 'API3 Client Secret'