Class: Takeoff::CLI
- Inherits:
-
Thor
- Object
- Thor
- Takeoff::CLI
- Defined in:
- lib/takeoff/cli.rb
Instance Method Summary collapse
Instance Method Details
#launch(plan = nil) ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/takeoff/cli.rb', line 22 def launch(plan = nil) setup plan ||= ENV["RACK_ENV"] || ENV["RAILS_ENV"] plan = Takeoff[plan] [:skip].each do |name| plan.stages.delete(name) end if [:skip] plan.launch end |