Class | Autumn::Tool::Create |
In: |
lib/autumn/tool/create.rb
|
Parent: | Object |
DEFAULT | = | { :proto => File.join(ROOT, 'skel'), :amend => false, :force => false, :layout => '/', } |
Default options passed to Create::create
:proto is the directory to duplicate :amend no files may be overwritten but missing files will be added :force will overwrite existing files :layout copy one subdirectory in +proto+ |
Using ProjectCreator to copy all files and directories from lib/proto to another location. options are described in the DEFAULT constant and should be:
:force => (true|false|nil) :amend => (true|false|nil) :layout => (String|nil) :proto => String