Class: Legion::CLI
- Inherits:
-
Thor
- Object
- Thor
- Legion::CLI
- Includes:
- Thor::Actions
- Defined in:
- lib/legion/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
20 21 22 |
# File 'lib/legion/cli.rb', line 20 def self.exit_on_failure? true end |
.source_root ⇒ Object
24 25 26 |
# File 'lib/legion/cli.rb', line 24 def self.source_root File.dirname(__FILE__) end |
Instance Method Details
#version ⇒ Object
31 32 33 |
# File 'lib/legion/cli.rb', line 31 def version say "Legion::CLI #{VERSION}" end |