Skip to content

Commit

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

* update warning

* Apply suggestions from code review

Co-authored-by: Krzysztof Kwiatosz <[email protected]>

* Update README.md

Co-authored-by: Grzegorz Karaluch <[email protected]>

---------

Co-authored-by: Krzysztof Kwiatosz <[email protected]>
Co-authored-by: Grzegorz Karaluch <[email protected]>
  • Loading branch information
3 people authored May 20, 2024
1 parent cdc6b20 commit 47cc8bf
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 47cc8bf

Please sign in to comment.