20 21 22 23 24 25 26 27 28
# File 'lib/aerosol/cli.rb', line 20 def execute super if Aerosol.deploy(deploy_name.to_sym) Rake::Task["aerosol:#{deploy_name}:all"].invoke elsif Aerosol.env(deploy_name.to_sym) Rake::Task["aerosol:env:#{deploy_name}"].invoke end end