0.2.1 • Published 11 years ago

templateready v0.2.1

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

Template Ready is template on the fly pre-compiler.

templateready --help

Usage:
  templateready [options]

Options:
 -d|--dir <workDirectory>
   The work directory. Use as base path for source directory and output JS
   Default is '.'

 -s|--source <sourceDirectory>
   The source directory with templates.
   If set directory name without path then use work directory as base path: <workDirectory>/templates/
   If set directory name with path then use it as is.
   Default is 'templates'

 -f|--file <outputFile>
   The name of output script file.
   If set file name without path then use work directory as base path: <workDirectory>/templates.js
   If set file name with path then use it as is.
   Pre-comiler will generate common and minified versions of output files.
   Default is 'templates.js'

 -t|--target <targetJsObject>
   The name of object who contain pre-compiled temlates as methods.
   You must ensure that the object already declared in your JS application.
   Default is 'Core.Template'

 -w|--watch
   Watch for changes for source directory.
   When a change template file occurs, rebuild output js files
   No default

 -p|--poll-interval <milliseconds>
   How often to poll watched files for changes.
   Defaults to Node default.

 -h|--help|-?
   Display these usage instructions.

 -q|--quiet
   Suppress DEBUG messages

  Examples:
    templateready myapp.js
    templateready -d ./wwwroot/app -s mytemplates -w -p 1000
    templateready --source ./wwwroot/mytemplates --file ./wwwroot/app/comiled.js --target 'Application.Templates'
0.2.1

11 years ago

0.2.0

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago

0.0.9

12 years ago

0.0.8

12 years ago

0.0.7

12 years ago

0.0.6

12 years ago

0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago