Skip to content
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 should have a --version option #3382

Open
jfrost-mo opened this issue Oct 16, 2023 · 3 comments
Open

ESMValTool should have a --version option #3382

jfrost-mo opened this issue Oct 16, 2023 · 3 comments
Assignees

Comments

@jfrost-mo
Copy link

jfrost-mo commented Oct 16, 2023

Is your feature request related to a problem? Please describe.

While ESMValTool has the esmvaltool version command, the somewhat standard esmvaltool --version flag doesn't work. This should be added.

Also in the help text describing the version command the word conform is used incorrectly. (split into #3383)

version
-       Show versions of all packages that conform ESMValTool.
+       Show versions of all packages that form ESMValTool.

Would you be able to help out?

Yes, and this would be a good way to get familar with the codebase. I'll try and do it today.

@jfrost-mo jfrost-mo self-assigned this Oct 16, 2023
@jfrost-mo
Copy link
Author

jfrost-mo commented Oct 16, 2023

Due to the way fire works, it appears this is actually rather hard. I'll split out the spelling correction into another issue and PR it for now. I'll have another look at the --version option later.

@valeriupredoi
Copy link
Contributor

indeed - this is all due to Fire - I tried get this done myself many moons ago, and also get the shortop -V but it's a bit of a drag TBF 👍

@jfrost-mo
Copy link
Author

jfrost-mo commented Oct 17, 2023

There seems to be wider interest for this in Fire (google/python-fire#468) so maybe fixing it upstream is the right way. The project isn't hugely active however, so it would probably require implementing it ourselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants