kyma-project / kyma-project/cli

Allow extending the same command groups by adding different extensions

Open
#2,745 0 comments 0 reactions 1 assignee View on GitHub

@pPrecel is already working on this.

Since Nov 24, 2025.

kind/feature
Dominant language
Go
Stars
125
Forks
124
PR merge metrics
No merged PRs in 30d

Description

Description

Some modules may want to extend the same command group (for example, the app command group). We should add support for operations described in the example:

Extension 1 structure:

- app (no execution)
  - expose
  - deploy-demo

Extension 2 structure:

- app (no execution)
  - diagnose
  - metrics

Final kyma app --help execution:

Use this command to manage applications on the Kubernetes cluster.

Usage:
  kyma app [command]

Available Commands:
  push        # built in
  expose      # from ext1
  deploy-demo # from ext1
  diagnose    # from ext2
  metrics     # from ext2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.