29 30 31 32 33 34 35 36 37
# File 'lib/magellan/cli/command.rb', line 29 def login print "email: " email = STDIN.gets.chomp print "password: " password = STDIN.noecho(&:gets).chomp puts "" Magellan::Cli::Http.new.login!(email, password) end
40 41 42
# File 'lib/magellan/cli/command.rb', line 40 def version $stdout.puts Magellan::Cli::VERSION end