lib/shelly/cli/main.rb in shelly-0.0.19 vs lib/shelly/cli/main.rb in shelly-0.0.20.pre
- old
+ new
@@ -41,10 +41,10 @@
rescue Errno::ENOENT => e
say_error e, :with_exit => false
say_error "Use ssh-keygen to generate ssh key pair"
end
- desc "login [EMAIL]", "Logins user to Shelly Cloud"
+ desc "login [EMAIL]", "Logs user in to Shelly Cloud"
def login(email = nil)
user = Shelly::User.new(email || ask_for_email, ask_for_password(:with_confirmation => false))
user.login
say "Login successful"
say "Uploading your public SSH key"