lib/r10k/cli/deploy.rb in r10k-2.0.3 vs lib/r10k/cli/deploy.rb in r10k-2.1.0
- old
+ new
@@ -19,11 +19,11 @@
description <<-DESCRIPTION
`r10k deploy` implements the Git branch to Puppet environment workflow
(https://puppetlabs.com/blog/git-workflow-and-puppet-environments/).
DESCRIPTION
- required :c, :config, 'Specify a configuration file'
+ required nil, :cachedir, 'Specify a cachedir, overriding the value in config'
run do |opts, args, cmd|
puts cmd.help(:verbose => opts[:verbose])
exit 0
end
@@ -86,9 +86,11 @@
usage 'display'
summary 'Display environments and modules in the deployment'
flag :p, :puppetfile, 'Display Puppetfile modules'
flag nil, :detail, 'Display detailed information'
+ flag nil, :fetch, 'Update available environment lists from all remote sources'
+ required nil, :format, 'Display output in a specific format. Valid values: json, yaml. Default: yaml'
runner R10K::Action::CriRunner.wrap(R10K::Action::Deploy::Display)
end
end
end