Class: Gemstash::CLI::Start
Overview
This implements the command line start task to start the Gemstash server:
$ gemstash start
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Gemstash::CLI::Base
Instance Method Details
#run ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/gemstash/cli/start.rb', line 11 def run prepare @cli.say("Starting gemstash!", :green) case @cli.[:daemonize] when false then warn "The --no-daemonize option was removed and has no effect." when true then warn "The --daemonize option was removed and has no effect." end Puma::CLI.new(args, Gemstash::Logging::StreamLogger.puma_events).run end |