lib/pdk/cli/update.rb in pdk-1.9.1 vs lib/pdk/cli/update.rb in pdk-1.10.0
- old
+ new
@@ -8,9 +8,11 @@
summary _('Update a module that has been created by or converted for use by PDK.')
flag nil, :noop, _('Do not update the module, just output what would be done.')
flag nil, :force, _('Update the module automatically, with no prompts.')
+ PDK::CLI.template_ref_option(self)
+
run do |opts, _args, _cmd|
require 'pdk/module/update'
PDK::CLI::Util.ensure_in_module!(
message: _('`pdk update` can only be run from inside a valid module directory.'),