lib/splash/cli.rb in prometheus-splash-0.5.0 vs lib/splash/cli.rb in prometheus-splash-0.5.2

- old
+ new

@@ -9,17 +9,19 @@ def initialize(*args) super log = get_logger options[:colors.to_s] + log.level = :debug if options[:debug] log.emoji = options[:emoji.to_s] log.color = options[:colors.to_s] + log.debug "DEBUG activated" if options[:debug] end class_option :quiet, :desc => "Quiet mode, limit output to :fatal", :aliases => "-q", :type => :boolean class_option :emoji, :desc => "Display Emoji", :type => :boolean, :default => true class_option :colors, :desc => "Display colors", :type => :boolean, :default => true - + class_option :debug, :desc => "Set log level to :debug", :aliases => "-d", :type => :boolean include CLISplash desc "commands SUBCOMMAND ...ARGS", "Managing commands/batchs supervision" subcommand "commands", Commands