Skip to content
ivansglazunov edited this page Feb 18, 2015 · 25 revisions
  • JavaScript
  • Pure object model
  • Sync and async data
  • Inheritance simplicity

Install

npm install -g osws-templates`

CLI

Command line interface

> osws-templates --help
OSWS Templates CLI

  Usage: index [options]

  Options:

    -h, --help              output usage information
    -V, --version           output the version number
    -s, --source <path>     Specify source files. By default - all in this directory.
    -d, --dest <path>       Set output directory. By default - this directory.
    -w, --watch             Watch to source files.
    -c, --context [json]    Specify context.
    -a, --arguments [json]  Specify arguments.
    -u, --auto-exit         Enable auto exit by pressing Enter.
    --dirname <path>        Specify gulp-rename option.
    --basename <path>       Specify gulp-rename option.
    --prefix <path>         Specify gulp-rename option.
    --suffix <path>         Specify gulp-rename option.
    --extname <path>        Specify gulp-rename option.

Types

Definitions

Clone this wiki locally