Class: SchwarmCli::Commands::Main
- Inherits:
-
Thor
- Object
- Thor
- SchwarmCli::Commands::Main
- Defined in:
- lib/schwarm_cli/commands/main.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
19 |
# File 'lib/schwarm_cli/commands/main.rb', line 19 def self.exit_on_failure? = true |
Instance Method Details
#skill ⇒ Object
62 63 64 65 |
# File 'lib/schwarm_cli/commands/main.rb', line 62 def skill path = File.("../../../schwarm-skill.md", __dir__) puts File.read(path) end |
#version ⇒ Object
55 56 57 |
# File 'lib/schwarm_cli/commands/main.rb', line 55 def version puts "schwarm-cli #{SchwarmCli::VERSION}" end |