Skip to content

Conversation

asmit27rai
Copy link
Contributor

Summary

This PR adds a new list command to the kflex CLI, allowing users to list all control planes managed by KubeFlex. The command retrieves control planes using the Kubernetes API and displays them in a user-friendly format.

Changes

  • Added a new list command to cmd/kflex/main.go.
  • Implemented the List method in cmd/kflex/common/cp.go to fetch and display control planes.
  • Updated docs/users.md to include documentation for the new command.

Related issue(s)

Fixes #159

@asmit27rai
Copy link
Contributor Author

@MikeSpreitzer Pls review this PR...

Signed-off-by: asmit27rai <raiasmit10@gmail.com>
@asmit27rai asmit27rai force-pushed the feature/list-clusters branch from bc2f776 to 0998d5f Compare March 18, 2025 18:45
@asmit27rai asmit27rai requested a review from pdettori March 18, 2025 19:30
Copy link
Contributor

@pdettori pdettori left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm - thank you @asmit27rai !

@pdettori pdettori merged commit 7ba8fc7 into kubestellar:main Mar 20, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature: List clusters
2 participants