module Thor::Actions

def remove_file(path, config = {})


remove_file 'app/controllers/application_controller.rb'
remove_file 'README'

==== Example

config:: give :verbose => false to not log the status.
path:: path of the file to be changed
==== Parameters

Removes a file at the given location.
def remove_file(path, config = {})
  return unless behavior == :invoke
  path  = File.expand_path(path, destination_root)
  say_status :remove, relative_to_original_destination_root(path), config.fetch(:verbose, true)
  ::FileUtils.rm_rf(path) if !options[:pretend] && File.exist?(path)
end