lib/vcloud/core/login_cli.rb
# Create a new instance of the CLI, parsing the arguments supplied
#
# @param argv_array [Array] The Array of ARGV arguments
# @return [Vcloud::Core::LoginCLI]
Create a new instance of the CLI, parsing the arguments supplied
Create a new instance of the CLI parsing the arguments supplied
def read_pass
        hl = HighLine.new($stdin, $stderr)
        if STDIN.tty?
          hl.ask("vCloud password: ") { |q| q.echo = "*" }
        else
          hl.ask("Reading password from pipe..")
        end
      end
def read_pass hl = HighLine . new ( $stdin , $stderr ) if STDIN . tty? hl . ask ( "vCloud password: " ) { | q | q . echo = "*" } else hl . ask ( "Reading password from pipe.." ) end end
Create a new instance of the CLI, parsing the arguments supplied
Create a new instance of the CLI parsing the arguments supplied
None
Vcloud::Core::LoginCLI
argv_array
The Array of ARGV arguments
The Array of ARGV arguments