module Thor::Actions

def create_link(destination, *args, &block)


create_link "config/apache.conf", "/etc/apache.conf"

==== Examples

:: give :symbolic => false for hard link.
config:: give :verbose => false to not log the status.
source:: the relative path to the source root.
destination:: the relative path to the destination root.
==== Parameters

Create a new file relative to the destination root from the given source.
def create_link(destination, *args, &block)
  config = args.last.is_a?(Hash) ? args.pop : {}
  source = args.first
  action CreateLink.new(self, destination, source, config)
end