From 1100c5a24b0626c01c6248d87172c7ab624bf42f Mon Sep 17 00:00:00 2001 From: "Dr. Strangelove" Date: Mon, 13 Dec 2021 19:19:27 -0500 Subject: [PATCH] fix: remove Thor deprecation warning (#115) * 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 --- lib/gzr/cli.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/gzr/cli.rb b/lib/gzr/cli.rb index 5d2f053..86b2ec2 100644 --- a/lib/gzr/cli.rb +++ b/lib/gzr/cli.rb @@ -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'