lib/chronicle/etl/cli/main.rb in chronicle-etl-0.4.2 vs lib/chronicle/etl/cli/main.rb in chronicle-etl-0.4.3

- old
+ new

@@ -2,11 +2,11 @@ module Chronicle module ETL module CLI # Main entrypoint for CLI app - class Main < ::Thor + class Main < Chronicle::ETL::CLI::CLIBase class_before :set_log_level class_before :set_color_output class_option :log_level, desc: 'Log level (debug, info, warn, error, fatal, silent)', default: 'info' class_option :verbose, aliases: '-v', desc: 'Set log level to verbose', type: :boolean @@ -90,9 +90,12 @@ shell.say end end no_commands do + def testb + puts "hi" + end def set_color_output String.disable_colorization true if options[:'no-color'] || ENV['NO_COLOR'] end def set_log_level