KusionStack / karpor

Intelligence for Kubernetes. World's most promising Kubernetes Visualization Tool for Developer and Platform Engineering teams.
https://karpor-demo.kusionstack.io
Apache License 2.0
678 stars 52 forks source link

Feat: Add --version flag to output current version number #560 #573

Closed rajeshkio closed 4 months ago

rajeshkio commented 4 months ago

What type of PR is this?

/kind feature

What this PR does / why we need it:

Add the -version flag to output the current version number.

$ karpor --version v0.4.5 $ karpor -V v0.4.5

If I have Karpor's binary or image, I can’t directly know its current version unless it starts.

Which issue(s) this PR fixes:

Fixes #560

elliotxx commented 4 months ago

@rajeshkio Good job! Let me try.

elliotxx commented 4 months ago

@rajeshkio Hi, I have released version 0.4.6 with this feature included.