Closed fyrkant closed 7 years ago
I had a look and personally I think it would be a lot better idea just to introduce single "Output File" question. It can default to LICENSE
, while allowing you to specify path/LICENSE
instead. That would be way more natural for general use, instead of answering a weird question about sub-directory all the time when this does not apply to you.
I'd think this way also makes generator a bit less composable.
This PR does not add a prompt, only an option. So it won't add a "weird question" all the time.
Thank you, I think this is good to mege
Awesome thanks a lot!
Hi!
I am using your wonderful generator in a generator I am building but I would like put the generated
LICENSE
file in sub-directory in the generated project, not in the root. I couldn't find a way to do this right now so I made this pull request to add asubDir
option that allows just that.Cheers!