Extend nuke --help
to show the accepted values for parameters
#1242
Labels
nuke --help
to show the accepted values for parameters
#1242
Description
As a user
I would like to see what values parameters are accepting when running
nuke --help
So that I don't have to guess how correctly to use a parameter.
Currently, nuke doesn't show what values parameters are accepting. This makes it harder to use parameters, as you have either to guess what values a parameter is accepting or look in other places(ex
.nuke\build.schema.json
, source files, etc.) for the accepted values. The problem becomes obvious when trying to use some lesser used parameters(ex.--verbosity
) and when working with an unfamiliar code base that uses nuke.By adding the accepted values(or data types?) to the description of parameters when running
nuke --help
, it will make it simpler for the user to run nuke.Here is what it can look like:
Usage Example
Alternative
.nuke\build.schema.json
Could you help with a pull-request?
Yes
The text was updated successfully, but these errors were encountered: