Skip to content

cub version

cub version

Show client and server version, commit, and build date

Synopsis

Show client and server version, commit, and build date.

The client version is printed first. The server's is fetched from the server of the current context; when it cannot be fetched, the reason is printed to stderr and the command exits non-zero, as it does when this cub is too old for the server, so that a script can tell a cub that works against its server from one that does not. --client prints the client version alone and does not contact the server.

Examples: cub version cub version --client

cub version [flags]

Options

      --client   Show the client version only, without contacting the server
  -h, --help     help for version

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output

SEE ALSO

  • cub - ConfigHub CLI