Skip to content

Commit

Permalink
fix: remove Thor deprecation warning (#115)
Browse files Browse the repository at this point in the history
* fix: refactored look and dashboard cat commands and space export to use the same code to generate each look and dashboard file.

* fix: add override for Thor deprecation warning
  • Loading branch information
drstrangelooker authored Dec 14, 2021
1 parent 8dadd50 commit 1100c5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/gzr/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ module Gzr
#
# @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'
Expand Down

0 comments on commit 1100c5a

Please sign in to comment.