to build on the work done by @jldeen enabling version selection, I thought it would be nice add the ability to specify a default value for a builder variable- especially for something like selecting a version
ref #99
adds new optionalvariableDefaults todraft.yaml which injects defaults into prompts within parentheses ex:
//draftl.yaml
...
variableDefaults:
- name: "PORT"
value: "80"
//prompt
> Please Enter the port exposed in the application (default: 80):
Prompts with defaults skip the empty string validation, and instead substitute the default value for empty strings after all prompts have completed
This PR adds port defaults for all 3 deployTypes and to the JavaScript builder as well as a default version for the JavaScript dockerFile generation
to build on the work done by @jldeen enabling version selection, I thought it would be nice add the ability to specify a default value for a builder variable- especially for something like selecting a version
ref #99
adds new optional
variableDefaults
todraft.yaml
which injects defaults into prompts within parentheses ex:Prompts with defaults skip the empty string validation, and instead substitute the default value for empty strings after all prompts have completed
This PR adds port defaults for all 3 deployTypes and to the JavaScript builder as well as a default version for the JavaScript dockerFile generation