CLI tools should have a command for showing the currently running/installed version. #10577
Labels
type/enhancement
The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Is your enhancement request related to a problem? Please describe.
When using the pulsar suite of CLI tools, there is no way to find the currently installed version of the tool. If one exists, the mechanism is undocumented and doesn't follow CLI conventions of displaying the version with the
-v
short flag or--version
flag.Describe the solution you'd like
When running any of the pulsar CLI tools, passing in the flag
-v
or--version
should show the current version of that tool.Describe alternatives you've considered
help
command would be helpful, but the convention is described above.bin
directory, but this is not ideal.Additional context
This is an important tool for debugging purposes. I was looking to record and file a separate issue, and I wanted to provide specific information about the version of
pulsar-admin
I was running, but I could not find a way to do so.The text was updated successfully, but these errors were encountered: