lib/pdk/cli.rb in pdk-1.6.1 vs lib/pdk/cli.rb in pdk-1.7.0
- old
+ new
@@ -53,9 +53,15 @@
def self.puppet_version_options(dsl)
dsl.option nil, 'puppet-version', _('Puppet version to run tests or validations against.'), argument: :required
dsl.option nil, 'pe-version', _('Puppet Enterprise version to run tests or validations against.'), argument: :required
end
+ def self.puppet_dev_option(dsl)
+ dsl.option nil,
+ 'puppet-dev',
+ _('When specified, PDK will validate or test against the current Puppet source from github.com. To use this option, you must have network access to https://github.com.')
+ end
+
@base_cmd = Cri::Command.define do
name 'pdk'
usage _('pdk command [options]')
summary _('Puppet Development Kit')
description _('The shortest path to better modules.')