-
Notifications
You must be signed in to change notification settings - Fork 39
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
esmvaltool run --help
does not show all possible command line options
#1433
Comments
related to this #936 - we really need to fix the command helper and run |
Can we single-source this? Eg embed the output of |
Yes, I agree with that! As far as I can tell Adding additional optional arguments for the |
Historically some options are command-line options and others are configuration file options. At some point, it became possible to specify most (all?) options either on the command line or in the configuration file and the distinction got a bit lost. The best solution seems to be have a look at all available options and think about which options make sense as a command line option and document those with the |
fire has a PR improving this google/python-fire#364 - seems like their dev process is somewhat slower though wrt PR acceptance. I am also wondering if we should ask them about the issue with command line args integrity ie |
I think the problem here is not fire, but rather that we do not explicitly list all possible options in the main function but use ESMValCore/esmvalcore/_main.py Lines 325 to 335 in 54385ac
|
Currently,
esmvaltool run --help
returnsThese are clearly not all possible arguments, see for example here:
ESMValCore/esmvalcore/experimental/config/_config_validators.py
Lines 254 to 289 in 4b8bf66
@ESMValGroup/esmvaltool-coreteam Is there a certain strategy which options are shows in the help and which not? I think it would definitely make sense to show additional options (not all of them!), like
run_diagnostic
which even appears in the documentation.The text was updated successfully, but these errors were encountered: