bin/splash in prometheus-splash-0.5.3 vs bin/splash in prometheus-splash-0.6.0

- old
+ new

@@ -1,8 +1,9 @@ #!/usr/bin/env ruby # coding: utf-8 +# major include require 'splash/dependencies' require 'splash/cli' #inhibit warning : due to prometheus-client call to URI.encode warning $-w = nil @@ -11,10 +12,11 @@ include Splash::Helpers include Splash::Exiter include Splash::Loggers include Splash::Config +# auto setup unless verify_file(name: CONFIG_FILE, mode: "644", owner: user_root, group: group_root).empty? then puts 'Splash need reconfiguration : Auto setup launch' if is_root? then acase = setupsplash @@ -24,6 +26,7 @@ puts '(sudo or rvmsudo) splash [conf setup]' exit 50 end end +# running Thor CLI.start(ARGV)