You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is no distinction in the usage list between boolean type parameters (which are just either present or absent, and don't take an argument), and parameters that require an argument (e.g. parameters that have type String).
What I would expect is something along the lines of not
Options:
-h, --help, -?
Print this help message and exit
-i, --input
The input file
but rather
Options:
-h, --help, -?
Print this help message and exit
-i, --input <input_file>
The input file
In other words I would like to be able to provide an extra argument placeholder="<input_file>" to the @Parameter annotation that is displayed in the above way.
I know there are custom usage formatters, but the placeholder would still need to be given in the annotation, so this really should be supported out of the box.
The text was updated successfully, but these errors were encountered:
As long as it contains a test proving that existing applications will not fail but new applications will show this placeholder, I would be delightet to review your PR. 👍
Currently there is no distinction in the
usage
list between boolean type parameters (which are just either present or absent, and don't take an argument), and parameters that require an argument (e.g. parameters that have typeString
).What I would expect is something along the lines of not
but rather
In other words I would like to be able to provide an extra argument
placeholder="<input_file>"
to the@Parameter
annotation that is displayed in the above way.I know there are custom usage formatters, but the placeholder would still need to be given in the annotation, so this really should be supported out of the box.
The text was updated successfully, but these errors were encountered: