-
Notifications
You must be signed in to change notification settings - Fork 642
Description
I am the maintainer for a tool called vk which can install single-binary CLI tools from github releases for you, and automatically update them for you. This works by the tool being able to output which version it is, then looking up the latest release on Github, looking at the associated tag and then comparing them to see if a newer version is available.
The pgo CLI tool does not currently look to be able to report it's own version, only the version of the postgres-operator installed in a cluster. That makes it impossible for vk to handle pgo currently.
It would be great if a subcommand could be added that will report the client version, rather than the server version. The current version subcommand could also be augmented with a --client-only or similar argument, to only report the client version. This version information would need to follow the Github tags that are also used for releases. If Goreleaser is used, it is fairly simple to get this information added during build.
Being able to identify which version of the pgo tool is installed, is obviously also useful to people not using vk, so they won't have to guess whether it is time to update or not.