Class: Gleis::CLI::Auth

Inherits:
Thor
  • Object
show all
Defined in:
lib/gleis/cli/auth.rb

Overview

Authentication-related CLI commands

Instance Method Summary collapse

Instance Method Details

#login(username) ⇒ Object



6
7
8
# File 'lib/gleis/cli/auth.rb', line 6

def (username)
  Authentication.(username)
end

#logoutObject



11
12
13
# File 'lib/gleis/cli/auth.rb', line 11

def logout
  Authentication.logout
end

#whoamiObject



16
17
18
# File 'lib/gleis/cli/auth.rb', line 16

def whoami
  Authentication.whoami
end