gruntwork-io / boilerplate

A tool for generating files and folders ("boilerplate") from a set of templates
https://www.gruntwork.io
Mozilla Public License 2.0
157 stars 12 forks source link

Saving answers and pre-filling questionnaire #173

Open kennyg opened 3 months ago

kennyg commented 3 months ago

Describe the solution you'd like A clear and concise description of what you want to happen.

I'd like a way to save answers to the questions and a method to pre-fill the answers in the prompt. That would save users from having to fill in the text with answers. Useful for correcting wrong errors or iterating over the templates.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

brikis98 commented 3 months ago

Is this different than --var-file?

kennyg commented 3 months ago

Can you capture answers to questions and save them for future runs? I suppose if I could store previous answers in a wrapper script and generate this var file, that would solve this issue. On Mar 21, 2024, at 12:08 PM, Yevgeniy Brikman @.***> wrote: Is this different than --var-file?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>