init prompts and existing/default values #2546
-
My current stateCurrently my
Today I edited the
Now, running My questionCan the init assignment to $email grab the existing value and prompt only if the value is empty/non-existing? bonus questionCan it populate default values to the prompt? So it will still prompt, but already populate the value with defaults (and populate that default value from the existing config)? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
This isn't working because For default values you can use the |
Beta Was this translation helpful? Give feedback.
-
With #2557, the
|
Beta Was this translation helpful? Give feedback.
With #2557, the
prompt*Once
template functions now take a path instead of a key, which allows you to use: