lib/pdk/cli.rb in pdk-0.6.0 vs lib/pdk/cli.rb in pdk-1.0.0
- old
+ new
@@ -2,10 +2,11 @@
require 'pdk/cli/errors'
require 'pdk/cli/util'
require 'pdk/cli/util/option_normalizer'
require 'pdk/cli/util/option_validator'
+require 'pdk/cli/exec_group'
require 'pdk/generators/module'
require 'pdk/i18n'
require 'pdk/logger'
require 'pdk/report'
require 'pdk/util/version'
@@ -30,10 +31,10 @@
exit e.exit_code
end
def self.template_url_option(dsl)
- dsl.option nil, 'template-url', _('Specifies the URL to the template to use when creating new modules, and other parts.'), argument: :required, default: PDK::Generate::Module::DEFAULT_TEMPLATE
+ dsl.option nil, 'template-url', _('Specifies the URL to the template to use when creating new modules, and other parts.'), argument: :required, default: PDK::Generate::Module.default_template_url
end
@base_cmd = Cri::Command.define do
name 'pdk'
usage _('pdk command [options]')