Class: Zerg::CLI
- Inherits:
-
Thor
- Object
- Thor
- Zerg::CLI
- Defined in:
- lib/zerg/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
- #clean(task) ⇒ Object
- #halt(task) ⇒ Object
- #init ⇒ Object
- #rush(task) ⇒ Object
- #snapshot(task) ⇒ Object
Class Method Details
.exit_on_failure? ⇒ Boolean
65 66 67 |
# File 'lib/zerg/cli.rb', line 65 def self.exit_on_failure? true end |
Instance Method Details
#clean(task) ⇒ Object
80 81 82 |
# File 'lib/zerg/cli.rb', line 80 def clean(task) puts Zerg::Runner.clean(task, [:debug]) end |
#halt(task) ⇒ Object
85 86 87 |
# File 'lib/zerg/cli.rb', line 85 def halt(task) puts Zerg::Runner.halt(task, [:debug]) end |
#init ⇒ Object
70 71 72 |
# File 'lib/zerg/cli.rb', line 70 def init puts Zerg::Generators::HiveGen.start end |