This pull request allows for passing an options object along with globs and prompts.
This options objects values will be merged into store. This means you could for instance hardcode a date or commit number or something that would not be prompted for.
I also added the ability to pass in a value saveConfig which would allow for the user to be able to choose whether a config file will be saved. The neat thing is that that this value is checked from this.config.get('saveConfig') which means that you could even get the users prompt for this.
This pull request allows for passing an
options
object along withglobs
andprompts
.This
options
objects values will be merged intostore
. This means you could for instance hardcode a date or commit number or something that would not be prompted for.I also added the ability to pass in a value
saveConfig
which would allow for the user to be able to choose whether a config file will be saved. The neat thing is that that this value is checked fromthis.config.get('saveConfig')
which means that you could even get the users prompt for this.