Class: Vcloud::Launcher::Cli
- Inherits:
-
Object
- Object
- Vcloud::Launcher::Cli
- Defined in:
- lib/vcloud/launcher/cli.rb
Instance Method Summary collapse
-
#initialize(argv_array) ⇒ Cli
constructor
A new instance of Cli.
- #run ⇒ Object
Constructor Details
#initialize(argv_array) ⇒ Cli
Returns a new instance of Cli.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/vcloud/launcher/cli.rb', line 7 def initialize(argv_array) @config_file = nil @usage_text = nil @options = { "vapp-name" => false, "dont-power-on" => false, "continue-on-error" => false, "quiet" => false, "post-launch-cmd" => false, "verbose" => false, "dry-run" => false, } parse(argv_array) end |