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
160 stars 12 forks source link

Improve the prompt for variable values #14

Closed brikis98 closed 7 years ago

brikis98 commented 7 years ago

This PR improves the way the boilerplate prompts the user for variable values. I largely copied the style used by Terraform. See the screenshot below.

screen shot 2016-09-16 at 5 46 53 pm
brikis98 commented 7 years ago

@josh-padnick Merging so I can do a flurry of boilerplate improvements. Feedback welcome :)

brikis98 commented 7 years ago

Can you provide more color (ha!) around your decision to just use a longer prompt versus introducing a new property like details?

I'm a fan of the way Terraform prompts for variables. I think it's clear, handles long and short prompts well, and makes it obvious what the action is. I don't see much reason to reinvent the wheel, so I figure we can go with that look and feel until we find something definitively better.

josh-padnick commented 7 years ago

Sounds good.