lib/eco/cli/config/default/usecases.rb in eco-helpers-2.0.46 vs lib/eco/cli/config/default/usecases.rb in eco-helpers-2.0.47

- old
+ new

@@ -88,9 +88,12 @@ end desc = "Cleans from filter_tags those tags that are not present in the tagtree (as per tagtree.json file)." desc += " It will preserve standard register tags of most common registers (i.e. EVENT, RISK)." cases.add("-clean-unknown-tags", :transform, desc, case_name: "clean-unknown-tags") + .add_option("-include-register-tags", "Will also try to remove register tags") do |options| + options.deep_merge!(usecase: {include_register_tags: true}) + end desc = "Removes the landing page or sets it to -page-id" cases.add("-reset-landing-page", :transform, desc, case_name: "reset-landing-page") .add_option("-page-id", "Target landing page to set to the users") do |options| SCR.get_arg("-page-id", with_param: true).tap do |new_id|