kubero-dev / kubero-dev/kubero

kubero-cli does not have a "--version" command, despite the README.md saying so?

Open
#629 1 comment 1 reaction 1 assignee Claimed by @mms-gianni View on GitHub
CLI
Dominant language
TypeScript
Stars
4.4k
Forks
213
PR merge metrics
No merged PRs in 30d

Description

Dear maintainers,

despite the [README.md](https://github.com/kubero-dev/kubero-cli/blob/main/README.md?plain=1#L131) stating so, it seems like the kubero-cli does not have a `--version` command.

I am currently packaging the CLI for openSUSE. The build works, the executable is, well, executable. Generating the shell completions works. The `help` command works, but does not mention a `version` command.

Using `--version` or `version` fails.

`kubero version` says:

```
$ kubero version
No config file found; using defaults
Error while loading credentialsConfig file: Config File "credentials" Not Found in "[/etc/kubero /home/kastl/.kubero]"
Error: unknown command "version" for "kubero"
Run 'kubero --help' for usage.
$
```

`kubero --version` says:

```
$ kubero --version
No config file found; using defaults
Error while loading credentialsConfig file: Config File "credentials" Not Found in "[/etc/kubero /home/kastl/.kubero]"
Error: unknown flag: --version
Usage:
kubero [command] [args]

Aliases:
kubero, kbr

Example:
kubero install

Available Commands:

completion Generate the autocompletion script for the specified shell
config Show your configuration
create Create a new pipeline and/or app
dashboard Opens the Kubero dashboard in your browser
debug Print debug informations
down Undeploy your pipelines and apps from the cluster
fetch Fetch your remote pipelines and apps to your local repository
help Help about any command
install Create a Kubernetes cluster and install all required components for kubero
instance List available instances
list List pipelines and apps
login Login to your Kubero instance
tunnel Create a tunnel to the cluster in NATed infrastructures [BETA]
up Deploy your pipelines and apps to the cluster

Flags:
-h, --help help for kubero

Use "kubero [command] --help" for more information about a command.
$
```

Could you have a look please?

Kind Regards,
Johannes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.