Class: CloudManager::Command
- Inherits:
-
Thor
- Object
- Thor
- CloudManager::Command
- 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.
Instance Method Summary collapse
-
#manage(config_file) ⇒ void
The cloud_manager manage CLI command.
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.
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, [:region]) configuration.manage end |