Class: Nanoc::CLI::Commands::Deploy
- Inherits:
-
Nanoc::CLI::CommandRunner
- Object
- Cri::CommandRunner
- Nanoc::CLI::CommandRunner
- Nanoc::CLI::Commands::Deploy
- Defined in:
- lib/nanoc/cli/commands/deploy.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/nanoc/cli/commands/deploy.rb', line 15 def run prepare if [:list-deployers'] list_deployers elsif [:list] list_deploy_configs else deploy end end |