Skip to content

init prompts and existing/default values #2546

Answered by twpayne
Lockszmith-GH asked this question in Q&A
Discussion options

You must be logged in to vote

With #2557, the prompt*Once template functions now take a path instead of a key, which allows you to use:

{{- $email := promptStringOnce . "pqb.email" "Email address" -}}

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@Lockszmith-GH
Comment options

@twpayne
Comment options

@Lockszmith-GH
Comment options

@twpayne
Comment options

Comment options

You must be logged in to vote
2 replies
@Lockszmith-GH
Comment options

@Lockszmith-GH
Comment options

Answer selected by halostatue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants