-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List available templates and possible overwrites #46
Comments
@nkobber would this command have helped you the other day when trying to understand why your build was failing due to a local overwrite? |
There isn't really a requriement that templates should be called Maybe the problem could be solved in another way. Extending the command output with a verbose setting when actually running the command. So you could see which templates it uses and even what variables. |
Not really. I had no idea. Unless it somehow tells me in the build output, and it is very visible |
@nkobber Did you look at the build logs locally or in Jenkins? |
The file names have no meaning, I know. It was just to provide a context for the discussion. The overwriting behaviour of plan templates is locked down by shuttle, so does it not make sense in that context? I know you can use We can add additional output to It is not possible without |
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.The text was updated successfully, but these errors were encountered: