Closed tunnckoCore closed 8 years ago
I guess because of that generator.js#L46?
even when you do gen gitignore:node
?
oh... hmmm. I guess you would need to use the name of the node template, right?
edit: so it would probably be Node.gitignore
, which is great because this let's you customize your .gitignore
templates based on the type of project
but also, I didn't notice this because I use update
on every project i generate. I just do gen project && update
:)
I just confirmed that the following works with a custom Node.gitignore
template.
$ gen gitignore:node
I guess Yes it would work, but I don't want to use some of the provided. I just want to use that from ~/templates/_gitignore
and i think it should work, because that's the convention.
and i think it should work, because that's the convention
No, the convention is to use the name of the template. not the generated file. For the reason I stated in https://github.com/generate/generate-gitignore/issues/1#issuecomment-245814150. If we use the name of the generated file, then you can only have one single template that will always be used for every project. You won't be able to differentiate.
Sounds like this is resolved then, right?
Okey, nevermind.
It always generates some and always ask questions.
generate-editorconfig
for example works.