lib/eco/cli/config/default/options.rb in eco-helpers-2.0.23 vs lib/eco/cli/config/default/options.rb in eco-helpers-2.0.24
- old
+ new
@@ -85,9 +85,20 @@
options[:dry_run] = true
options[:simulate] = true
session.config.dry_run!
end
+ desc = "(careful with this option) This will include everybody as part of the update (including those that are api excluded). "
+ desc += "Only launch with this option when only api excluded people are included in your update."
+ options_set.add("-include-excluded", desc) do |options|
+ options.deep_merge!(include: {excluded: true})
+ end
+
+ desc = "Includes in API updates ONLY people that evaluate true as people excluded from periodic upates."
+ options_set.add("-include-only-excluded", desc) do |options|
+ options.deep_merge!(include: {only_excluded: true})
+ end
+
desc = "Ignores threshold limitations on requests for this session (skip batch belt)"
options_set.add("-skip-batch-policy", desc) do |options|
options.deep_merge!(skip: {batch_policy: true})
end