module Thor::Base::ClassMethods

def remove_command(*names)


to be undefined from the class as well.
options:: You can give :undefine => true if you want commands the method
name:: The name of the command to be removed
==== Parameters

:undefine => true to undefine the method from the class as well.
By default it only remove the mapping to the command. But you can supply

anymore.
are inheriting from another class and don't want it to be available
Removes a given command from this Thor class. This is usually done if you
def remove_command(*names)
  options = names.last.is_a?(Hash) ? names.pop : {}
  names.each do |name|
    commands.delete(name.to_s)
    all_commands.delete(name.to_s)
    undef_method name if options[:undefine]
  end
end