class Gleis::CLI::Auth
Authentication-related CLI
commands
Public Instance Methods
login(username, password = nil)
click to toggle source
# File lib/gleis/cli/auth.rb, line 10 def login(username, password = nil) Authentication.login(username, password, options[:skip_keygen]) end
logout()
click to toggle source
# File lib/gleis/cli/auth.rb, line 15 def logout Authentication.logout end
register(email)
click to toggle source
# File lib/gleis/cli/auth.rb, line 20 def register(email) Authentication.register(email) end
whoami()
click to toggle source
# File lib/gleis/cli/auth.rb, line 25 def whoami Authentication.whoami end