You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
krancour
changed the title
The kargo version command doesn't work when not logged in
all cli commands fail if config file doesn't exist already
Dec 29, 2023
Hi @krancour when do you plan/think to release kargo cli v0.3.1 to fix this issue?
It's quite critical as it's not possible to test the quickstart guide because not possible to create any project.
Is there an alternative way to create a Kargo Project? maybe YAML?
Fixes#1341
Currently, the CLI entrypoint and some commands assumes that the config
file exists in the home directory. So all commands and config-related
commands (e.g. `config set`, `config unset`) are failing if the config
file does not exist.
This commit fixes this issue by returning an default config if the
config file does not exists in the CLI entrypoint and creates the
config file if necessary in config-related commands.
Signed-off-by: Sunghoon Kang <hoon@akuity.io>
Checklist
kargo version
.Description
Running
kargo version
when you're not logged in returns an errorExample
$ kargo version Error: get version info from server: unavailable: unsupported protocol scheme ""
Steps to Reproduce
First:
Then
Expected behavior
There should be a
--client
flag that returns the version of the client when not logged into a Kargo serverExample:
The text was updated successfully, but these errors were encountered: