Skip to content

Commit

Permalink
chore: Deprecate kyma-cli v2 (#2095) (#2096)
Browse files Browse the repository at this point in the history
* draft

* update warning

* Apply suggestions from code review



* Update README.md



---------

Co-authored-by: Krzysztof Kwiatosz <krzysztof.kwiatosz@sap.com>
Co-authored-by: Grzegorz Karaluch <grzegorz.karaluch@sap.com>
  • Loading branch information
3 people authored May 20, 2024
1 parent 6325d47 commit b444c7b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
package main

import (
"fmt"
"os"

"github.com/kyma-project/cli/cmd/kyma"
"github.com/kyma-project/cli/internal/cli"
)

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()
Expand Down

0 comments on commit b444c7b

Please sign in to comment.