I was heavily inspired by Dan McGrady's duster.js (and originally this was just a fork!), but quite quickly outgrew the provided functionality of his tool.
npm install -g dusty
dusty --out /destination/path /path/to/dust/templates
dusty --single --out /destination/path/template.js /path/to/dust/templates
The former will compile the templates into separate files under the directory
specified in the argument to
--out and the latter will compile them into a
single package, again specified with