Skip to content

Conversation

@pPrecel
Copy link
Contributor

@pPrecel pPrecel commented Mar 11, 2025

Description

Changes proposed in this pull request:

  • return every error as clierror.Error to diplay errors always in the same way

before:

go run main.go alpha kubeconfig gen --serviceaccount t

if any flags in the group [serviceaccount clusterrole] are set they must all be set; missing [clusterrole]

after:

go run main.go alpha kubeconfig gen --serviceaccount t

Error:
  failed to execute command

Error Details:
  if any flags in the group [serviceaccount clusterrole] are set they must all be set; missing [clusterrole]

@pPrecel pPrecel added area/cli Related to all activities around CLI kind/enhancement labels Mar 11, 2025
@pPrecel pPrecel requested a review from a team as a code owner March 11, 2025 12:50
@anoipm anoipm self-assigned this Mar 12, 2025
@pPrecel pPrecel merged commit 085dec5 into kyma-project:main Mar 12, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli Related to all activities around CLI kind/enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants