little-angry-clouds / kubernetes-binaries-managers

Kubernetes related binaries manager.
GNU General Public License v3.0
101 stars 11 forks source link

kbenv version --short not working as documented #43

Open EHJ-52n opened 1 year ago

EHJ-52n commented 1 year ago

I installed the latest version using the instructions.

Executing kbenv version --short prints the complete version information and not just 1.0.0:

~ kbenv version --help
Outputs the current build information

Usage:
  kbenv version [flags]

Flags:
  -h, --help            help for version
      --output string   Output format. One of 'yaml' or 'json'. (default "yaml")
      --short           Print just the version number.
~ kbenv version --short
Commit: d5e1e2075e88bf4f791749cc06ae02f82fb8a710
Date: "2022-05-20T12:20:19Z"
Version: 1.0.0
~ kbenv version --output json | jq -r .Version
1.0.0
~