lib/eco/cli/config/default/usecases.rb in eco-helpers-2.0.48 vs lib/eco/cli/config/default/usecases.rb in eco-helpers-2.0.49

- old
+ new

@@ -181,12 +181,18 @@ options.deep_merge!(include: {create: true}) end desc = "Re-sends invites to all filtered users that have not accepted the invite as yet" cases.add("-reinvite", :transform, desc, case_name: "reinvite") + .add_option("-force", "If also send an invite email to those that have accepted the invite") do |options| + options.deep_merge!(force: {invite: true}) + end desc = "Re-sends invites to target users that have not accepted the invite as yet" cases.add("-reinvite-from", :sync, desc, case_name: "reinvite") + .add_option("-force", "If also send an invite email to those that have accepted the invite") do |options| + options.deep_merge!(force: {invite: true}) + end desc = "Deletes everybody that has been filtered from the people manager" cases.add("-delete", :transform, desc, case_name: "delete") desc = "Deletes the people specified in the input data" cases.add("-delete-from", :sync, desc, case_name: "delete")