feat: add 'ctx ls' command to list available cluster contexts in config

This commit is contained in:
Pavel Sviderski
2025-04-02 09:25:12 +10:00
parent f467fad84c
commit 1bbefdd0d2
7 changed files with 117 additions and 29 deletions
+3 -2
View File
@@ -6,8 +6,9 @@ import (
func NewRootCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "service",
Short: "Manage services in an Uncloud cluster.",
Use: "service",
Aliases: []string{"svc"},
Short: "Manage services in an Uncloud cluster.",
}
cmd.AddCommand(
NewInspectCommand(),