add support for custom file names (based on template)
for that second one, I wanted to try and avoid breaking places where the logic is to just iterate over the various properties of the 'templateMap' object, so I added it as a new property at the root level of json:
ngt g c ./test/test --flat -t:page
Using template 'page' from 'angular-cli-tools/config.json'
Created ./test/test.page.ts
Created ./test/test.page.html
I believe the second change fixes #12
I don't know if you guys are accepting PRs. If not, go ahead and close this and I'll maintain these changes in my fork.
Two changes:
for that second one, I wanted to try and avoid breaking places where the logic is to just iterate over the various properties of the 'templateMap' object, so I added it as a new property at the root level of json:
which ends up in the following:
I believe the second change fixes #12
I don't know if you guys are accepting PRs. If not, go ahead and close this and I'll maintain these changes in my fork.