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

feat: add version command #19

Merged
merged 1 commit into from Feb 20, 2024
Merged

feat: add version command #19

merged 1 commit into from Feb 20, 2024

Conversation

JaeAeich
Copy link
Contributor

Description

Add version command. Currently, the command will show version (version), latest git commit hash, build time, release channel (hardcoded), go version, and system info.
image

Inspiration taken from docker version
image

Other objective [NEED DISCUSSION]:

  • Create --format flag that render the version info in JSON format.
  • Create --oneline flag to minify the info to one line.

Signed-off-by: Jae Aeich <jh4official@gmail.com>
@Vad1mo Vad1mo merged commit bd4f426 into goharbor:main Feb 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants