Class | Webby::Apps::Generator |
In: |
lib/webby/apps/generator.rb
|
Parent: | Object |
webby gen template site => creates the tmplate webby gen -h / —help webby gen => same as —help
options | [R] | |
site | [RW] | |
template | [RW] |
Prints an abort message to the screen and then exits the Ruby interpreter. A non-zero return code is used to indicate an error.
Copy a file from the template location to the user specified site location. A message will be displayed to the screen indicating tha the file is being created.
Returns true if the source file is identical to the destination file. Returns false if this is not the case.
Make a directory in the user specified site location. A message will be displayed to the screen indicating tha the directory is being created.
Returns true if we are only going to pretend to do something. All the output messages will be written, but no changes will be made on the disc.