Class: Magellan::Cli::Command

Inherits:
Base
  • Object
show all
Defined in:
lib/magellan/cli/command.rb

Instance Method Summary collapse

Instance Method Details

#loginObject



30
31
32
33
34
35
36
37
38
# File 'lib/magellan/cli/command.rb', line 30

def 
  print "email: "
  email = STDIN.gets.chomp
  print "password: "
  password = STDIN.noecho(&:gets).chomp
  puts ""

  Magellan::Cli::Http.new.login!(email, password)
end