def self.command
@cmd ||= Cri::Command.define do
name 'deploy'
usage 'deploy <subcommand>'
summary 'Puppet dynamic environment deployment'
description <<-DESCRIPTION
`r10k deploy` implements the Git branch to Puppet environment workflow
(https://puppetlabs.com/blog/git-workflow-and-puppet-environments/).
DESCRIPTION
required nil, :cachedir, 'Specify a cachedir, overriding the value in config'
flag nil, :'no-force', 'Prevent the overwriting of local module modifications'
run do |opts, args, cmd|
puts cmd.help(:verbose => opts[:verbose])
exit 0
end
end
end