feat: Make 'openjd run <template>' help output describe the job parameters #196
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


What was the problem/requirement? (What/Why)
Because a job template is runnable code similar to a script, we can think of
openjd run <templatefile>the same asbash <scriptfile>. Part of this is printing help output of the options available.What was the solution? (How)
This change makes it so
openjd run <templatefile> -hprints help that is specific about the template file, displaying the job name, description, and all its parameters. Similarly, if there are missing required parameters, the error message says that and then displays this same help text.This change was created with the help of Kiro using the Claude Sonnet 4.5 model.
What is the impact of this change?
Before this change:
After this change:
How was this change tested?
Added unit tests, tested a bunch of cases manually.
Was this change documented?
It is a change to the help output documentation of the CLI command.
Is this a breaking change?
No
Does this change impact security?
No
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.