module Thor::Actions

def initialize(args = [], options = {}, config = {})


destination_root:: The root directory needed for some actions.

and the respective option.
It also accepts :force, :skip and :pretend to set the behavior
behavior:: The actions default behavior. Can be :invoke or :revoke.
==== Configuration

Extends initializer to add more configuration options.
def initialize(args = [], options = {}, config = {})
  self.behavior = case config[:behavior].to_s
                  when 'force', 'skip'
                    _cleanup_options_and_set(options, config[:behavior])
                    :invoke
                  when 'revoke'
                    :revoke
                  else
                    :invoke
                  end
  super
  self.destination_root = config[:destination_root]
end