Class: Luciq::CLI
- Inherits:
-
Thor
- Object
- Thor
- Luciq::CLI
- Defined in:
- lib/luciq/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
- #info ⇒ Object
- #insights ⇒ Object
- #login ⇒ Object
- #logout ⇒ Object
- #version ⇒ Object
- #whoami ⇒ Object
Class Method Details
.exit_on_failure? ⇒ Boolean
11 12 13 |
# File 'lib/luciq/cli.rb', line 11 def self.exit_on_failure? true end |
Instance Method Details
#insights ⇒ Object
84 85 86 |
# File 'lib/luciq/cli.rb', line 84 def insights Commands::Query.new().insights end |
#login ⇒ Object
22 23 24 |
# File 'lib/luciq/cli.rb', line 22 def login Commands::Auth.new().login end |
#logout ⇒ Object
27 28 29 |
# File 'lib/luciq/cli.rb', line 27 def logout Commands::Auth.new().logout end |