It would be great if there was a way to list all available templates for a given plan.
This could help users identify unexpected overwrites of plan templates and also help with discovering what templates are available shuttle template.
Maybe something like below. The most important thing is the name of the template and if it's overwritten by another template.
$ shuttle template --list
Plan templates:
- deployment.tmpl
- Dockerfile.tmpl (overwriting plan)
- secret.tmpl
If run with the --verbose (-v) flag we could show the paths to each template. This could help in understanding where to look when updating or trying to understand them.
$ shuttle template --list -v
Plan templates:
- deployment.tmpl $plan/templates/deployment.tmpl
- Dockerfile.tmpl $project/templates/Dockerfile.tmpl (overwriting $plan/templates/Dockerfile.tmpl)
- secret.tmpl $project/templates/secret.tmpl
It would be great if there was a way to list all available templates for a given plan.
This could help users identify unexpected overwrites of plan templates and also help with discovering what templates are available
shuttle template.Maybe something like below. The most important thing is the name of the template and if it's overwritten by another template.
If run with the
--verbose(-v) flag we could show the paths to each template. This could help in understanding where to look when updating or trying to understand them.