Class: Gemstash::CLI::Start

Inherits:
Base
  • Object
show all
Defined in:
lib/gemstash/cli/start.rb

Overview

This implements the command line start task to start the Gemstash server:

$ gemstash start

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Gemstash::CLI::Base

Instance Method Details

#runObject



9
10
11
12
13
14
15
# File 'lib/gemstash/cli/start.rb', line 9

def run
  prepare
  setup_logging
  store_daemonized
  @cli.say("Starting gemstash!", :green)
  Puma::CLI.new(args, Gemstash::Logging::StreamLogger.puma_events).run
end