lib/pdk/cli/new/class.rb in pdk-1.9.1 vs lib/pdk/cli/new/class.rb in pdk-1.10.0
- old
+ new
@@ -2,11 +2,9 @@
@new_class_cmd = @new_cmd.define_command do
name 'class'
usage _('class [options] <class_name>')
summary _('Create a new class named <class_name> using given options')
- PDK::CLI.template_url_option(self)
-
run do |opts, args, _cmd|
require 'pdk/generate/puppet_class'
PDK::CLI::Util.ensure_in_module!(
message: _('Classes can only be created from inside a valid module directory.'),