Skip to content

Instantly share code, notes, and snippets.

@simonjefford
Last active December 12, 2015 05:38
Show Gist options
  • Save simonjefford/4723091 to your computer and use it in GitHub Desktop.
Save simonjefford/4723091 to your computer and use it in GitHub Desktop.
Handlebars command line options (looks like -n will do the trick)
Options:
-f, --output Output File [string]
-a, --amd Exports amd style (require.js) [boolean]
-c, --commonjs Exports CommonJS style, path to Handlebars module [string] [default: null]
-h, --handlebarPath Path to handlebar.js (only valid for amd-style) [string] [default: ""]
-k, --known Known helpers [string]
-o, --knownOnly Known helpers only [boolean]
-m, --min Minimize output [boolean]
-n, --namespace Template namespace [string] [default: "Handlebars.templates"]
-s, --simple Output template function only. [boolean]
-r, --root Template root. Base value that will be stripped from template names. [string]
-p, --partial Compiling a partial template [boolean]
-d, --data Include data when compiling [boolean]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment