class Object

Constants

ADOBE_CRX_VERSION

Public Instance Methods

validate_global_options(command, options) click to toggle source
# File lib/adobe_crx/cli.rb, line 14
def validate_global_options(command, options)
  if !options.host
    options.host = ask 'CRX host:'
  end
  if !options.port
    options.port = ask 'CRX port:'
  else
    options.port = options.port.to_i
  end
  if !options.username
    options.username = ask 'CRX username:'
  end
  if !options.password
    options.password = password('CRX password:')
  end
end