Sha256: 5bf130593b108c6b90f8003a807b4ac1b6d022f8445648f03ae74915617d858f
Contents?: true
Size: 630 Bytes
Versions: 11
Compression:
Stored size: 630 Bytes
Contents
module PDK::CLI @config_cmd = @base_cmd.define_command do name 'config' usage _('config [subcommand] [options]') summary _('(Deprecated) Configure the Puppet Development Kit.') default_subcommand 'help' run do |_opts, args, _cmd| PDK.logger.warn _('The \'pdk config\' command is deprecated, please use \'pdk get config\' and \'pdk set config\' instead.') if args == ['help'] PDK::CLI.run(%w[config --help]) exit 0 end PDK::CLI.run(%w[config help]) if args.empty? end end @config_cmd.add_command Cri::Command.new_basic_help end require 'pdk/cli/config/get'
Version data entries
11 entries across 11 versions & 1 rubygems