module Thor::Actions

def directory(source, destination=nil, config={})


directory "doc", "docs", :recursive => false
directory "doc"

==== Examples

If :recursive => false, does not look for paths recursively.
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

blog.rb
rdoc.rb
README
components/
doc/

files (assuming that the app_name is "blog"):
It will create a doc directory in the destination with the following

directory "doc"

When invoked as:

%app_name%.rb
rdoc.rb.tt
README
components/.empty_directory
doc/

directory with the following files:
ignored. Remember that file paths can also be encoded, let's suppose a doc
empty directory is found, it's copied and all .empty_directory files are
and is placed in the destination without the extension .tt. If any
If any of the files finishes with .tt, it's considered to be a template
Copies recursively the files from source directory to root directory.
def directory(source, destination=nil, config={})
  action Directory.new(self, source, destination || source, config)
end