lib/splash/cli/daemon.rb in prometheus-splash-0.5.0 vs lib/splash/cli/daemon.rb in prometheus-splash-0.5.2
- old
+ new
@@ -1,15 +1,15 @@
# coding: utf-8
module CLISplash
class CLIController < Thor
- include Splash::LogsMonitor::DaemonController
+ include Splash::Daemon::Controller
include Splash::Transports
include Splash::Exiter
include Splash::Loggers
- option :foreground, :type => :boolean
+ option :foreground, :type => :boolean, :aliases => "-F"
option :purge, :type => :boolean, default: true
option :scheduling, :type => :boolean, default: true
long_desc <<-LONGDESC
Starting Splash Daemon\n
With --foreground, run Splash in foreground\n