Missing resource `template.html`

Fixes #1
Merge pull request #2 from agrison/master

Missing resource `template.html`
Merge branch 'master' into updates
Minor fixes of the behavior:
* added command line arguments check
* fixed generation, when given only one file (not a directory)