root@4ce0735a160c:/# export SS=/root/.nvm/v0.11.16/lib/node_modules/snakeskin/bin/snakeskin.js
root@4ce0735a160c:/# node $SS --help
Usage: snakeskin [options] [dir|file ...]
Options:
-h, --help output usage information
-V, --version output the version number
-p, --params [src] path to the options file or options object
-s, --source [src] path to the template file or directory
-f, --file [src] path to the template file (meta-information)
-m, --mask [mask] mask for a template files (RegExp)
-w, --watch watch files for changes and automatically re-render
-o, --output [src] path to the file to save
--extname [ext] file extension for saving (if "output" is a directory)
--exports [type] export type
-e, --exec execute compiled template
-d, --data [src] path to the data file or data object
-t, --tpl [name] name of the main template
--disable-localization disable support for localization
--i18n-fn [name] i18n function name
--language [src] path to the localization file or localization object
--words [src] path to the localization file to save
--disable-use-strict disable 'use strict'; mode
--bem-filter [name] bem filter name
--line-separator [char] newline character (eol)
--tolerate-whitespace tolerate whitespace characters in the template
--ignore regular expression to ignore the empty space
--auto-replace enable macros support
--macros [src] path to the macros file or JS macros object
--doctype [type] xml doctype ("html" or "xml")
--inline-iterators inline forEach and forIn
--disable-escape-output disable default "html" filter
--disable-replace-undef disable default "undef" filter
--render-as [mode] render all templates as "interface" or "placeholder"
--render-mode [mode] render all templates in "stringConcat", "stringBuffer" or "dom"
--pretty-print formatting output
root@4ce0735a160c:/# |