Module: R10K::CLI::Module::Deploy
- Defined in:
- lib/r10k/cli/module/deploy.rb
Class Method Summary collapse
Class Method Details
.command ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/r10k/cli/module/deploy.rb', line 9 def self.command @cmd ||= Cri::Command.define do name 'deploy' usage 'deploy [module name] <module name> ...' summary 'DEPRECATED: Deploy a module' be_hidden flag :u, :update, "Update module cache" run do |opts, args, cmd| logger.warn "This command is deprecated; please use `r10k deploy module`" R10K::CLI::Deploy::Module.command.block.call(opts,args,cmd) end end end |