module Bundler::Thor::Actions

def link_file(source, *args)


link_file "doc/README"

link_file "README", "doc/README"

==== Examples

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

the destination is not given it's assumed to be equal to the source.
Links the file from the relative source to the relative destination. If
def link_file(source, *args)
  config = args.last.is_a?(Hash) ? args.pop : {}
  destination = args.first || source
  source = File.expand_path(find_in_source_paths(source.to_s))
  create_link destination, source, config
end