class Nova::Commands::Server

Handles server operations for projects.

Public Instance Methods

down() click to toggle source

Handles taking down servers.

@see Project @see Project#shoot @return [void]

# File lib/nova/commands/server.rb, line 66
def down
  Project.new(parent_options[:path]).shoot(options[:which])
end
up() click to toggle source

information on this command.

@see Project @see Project#run_servers @return [void]

# File lib/nova/commands/server.rb, line 52
def up
  Project.new(parent_options[:path]).run_servers(
    !options[:foreground], options[:which])
end