Class: Gleis::Main
- Inherits:
-
Thor
- Object
- Thor
- Gleis::Main
- Defined in:
- lib/gleis/main.rb
Overview
This class defines all the main command-line interface commands for gleis
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
6 7 8 |
# File 'lib/gleis/main.rb', line 6 def self.exit_on_failure? true end |
Instance Method Details
#login(username) ⇒ Object
11 12 13 |
# File 'lib/gleis/main.rb', line 11 def login(username) Authentication.login(username) end |
#register(email) ⇒ Object
16 17 18 |
# File 'lib/gleis/main.rb', line 16 def register(email) Authentication.register(email) end |