Cookiecutter: document variables
• 45 words • 1 min • updated
⚠️ This post is over one year old. It may no longer be up to date or relevant. Opinions may have changed.
Follow-up of the previous post.
Ever since July 2023 it’s possible to document cookiecutter parameters / variables.
Add a __prompts__ key. Example:
json
{
"app_name": "app-name",
"patch_disable_auto_sync": true,
"__prompts__": {
"app_name": "The ArgoCD application name",
"patch_disable_auto_sync": "Disable auto sync for the ArgoCD application?"
}
}