jozefizso / generator-license

Yeoman Generator - License
MIT License
59 stars 20 forks source link

Configuration for users #80

Open nickserv opened 7 years ago

nickserv commented 7 years ago

I would like to set website and defaultLicense globally for my convenience. I tried adding a .yo-rc.json to my home directory with { "generator-license": ... } but yo license still doesn't show these values in the prompts. Is this supported?

SBoudrias commented 7 years ago

generator-license could remember the latest selected value using the store property: prompt({name: 'license', store: true ...})

I don't think there's a convenient manual way for you to do so.