Store specific Prompts so they can be recalled during future calls to the generator.
Description of the Change
Added Store properties to the Prompts for (Target, Source Folder, and Vendor Prefix). User will always be presented the prompt but default value will be pulled from the stored value.
Benefits
The values selected for Target, Source Folder, and Vendor Prefix when the generator is called in the future so users don't need to fill these values out each time.
Possible Drawbacks
I did notice that the Value is stored for multiple Helix projects. For example, if I create 2 Helix based solutions using this generator, the values (i.e. Vendor) stored may be shared for both. I've read in some cases while doing development the value is stored in global file so will need to test once I've unlinked the generator from my local dev env.
Requirements
Store specific Prompts so they can be recalled during future calls to the generator.
Description of the Change
Added Store properties to the Prompts for (Target, Source Folder, and Vendor Prefix). User will always be presented the prompt but default value will be pulled from the stored value.
Benefits
The values selected for Target, Source Folder, and Vendor Prefix when the generator is called in the future so users don't need to fill these values out each time.
Possible Drawbacks
I did notice that the Value is stored for multiple Helix projects. For example, if I create 2 Helix based solutions using this generator, the values (i.e. Vendor) stored may be shared for both. I've read in some cases while doing development the value is stored in global file so will need to test once I've unlinked the generator from my local dev env.