Method: Vcloud::Core::QueryCli#initialize

Defined in:
lib/vcloud/core/query_cli.rb

#initialize(argv_array) ⇒ Vcloud::Core::QueryCLI

Create a new instance of the CLI, parsing the arguments supplied

Parameters:

  • argv_array (Array)

    The Array of ARGV arguments



11
12
13
14
15
16
17
# File 'lib/vcloud/core/query_cli.rb', line 11

def initialize(argv_array)
  @usage_text = nil
  @type = nil
  @options = {}

  parse(argv_array)
end