Class: CloudManager::Command

Inherits:
Thor
  • Object
show all
Defined in:
lib/cloud_manager/command.rb

Overview

The cloud_manager CLI command. This is the main entry point of the CLI script, it holds and manages all the subcommands.

Since:

  • 0.1.0

Instance Method Summary collapse

Instance Method Details

#manage(config_file) ⇒ void

This method returns an undefined value.

The cloud_manager manage CLI command. This command starts the management of the given configuration file.

Parameters:

  • the YAML configuration file

Since:

  • 0.1.0



19
20
21
22
23
24
# File 'lib/cloud_manager/command.rb', line 19

def manage(config_file)
  puts 'Managing configuration: ' + config_file

  configuration = CloudManager::Configuration::Configuration.new(config_file, options[:region])
  configuration.manage
end