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