diff --git a/README.md b/README.md index 6d7b93432..4040c77f8 100755 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ # Kyma CLI +> [!WARNING] +> The Kyma CLI version `v2`, with all commands available within this version, is deprecated. We've started designing the `v3` commands that will be first released within the `alpha` command group. +> Read more about the decision [here](https://github.com/kyma-project/community/issues/872). + ## Overview Kyma CLI is a command line tool which supports [Kyma](https://github.com/kyma-project/kyma) developers. It provides a set of commands and flags you can use to: diff --git a/cmd/main.go b/cmd/main.go index bc552736c..9269c5006 100755 --- a/cmd/main.go +++ b/cmd/main.go @@ -1,6 +1,7 @@ package main import ( + "fmt" "os" "github.com/kyma-project/cli/cmd/kyma" @@ -8,6 +9,8 @@ import ( ) func main() { + fmt.Print("WARNING: All commands within v2 are deprecated. We are designing v3 of kyma CLI with a new set of commands that will be first released within alpha command group.\n\n") + command := kyma.NewCmd(cli.NewOptions()) err := command.Execute()