Skip to content

Hooks

Compare
Choose a tag to compare
@f0rmat1k f0rmat1k released this 24 Apr 17:24
· 31 commits to master since this release

I've added hooks calls for created files. Now you can set bash commands, which get path to created file with the first argument by replacing {{filePath}}. Example:
"template": [ "tmp/js-template.js", "node examples/hook.js {{filePath}}" ]
It's useful when you need more than provide template replacers.