module Thor::Base::ClassMethods
def class_exclusive(*args, &block)
will be raised.
If you give "--one" and "--two" at the same time ExclusiveArgumentsError
class_exclusive :one, :two
class_option :two
class_option :one
Or
end
class_option :two
class_option :one
class_exclusive do
==== Examples
Array[Thor::Option.name]
==== Parameters
block and arguments. You can declare options as the outside of the block.
Adds and declares option group for exclusive options in the
def class_exclusive(*args, &block) register_options_relation_for(:class_options, :class_exclusive_option_names, *args, &block) end