Class: Nova::Commands::Server

Inherits:
Thor
  • Object
show all
Defined in:
lib/nova/commands/server.rb

Overview

Handles server operations for projects.

Instance Method Summary collapse

Instance Method Details

#downvoid

This method returns an undefined value.

Handles taking down servers.



66
67
68
# File 'lib/nova/commands/server.rb', line 66

def down
  Project.new(parent_options[:path]).shoot(options[:which])
end

#upvoid

This method returns an undefined value.

Runs the servers. Run Nova server help up for information on this command.



52
53
54
55
# File 'lib/nova/commands/server.rb', line 52

def up
  Project.new(parent_options[:path]).run_servers(
    !options[:foreground], options[:which])
end