2023-04-13 11:43:03 +02:00

22 lines
516 B
Go

package cmd
import (
"github.com/rsteube/carapace"
"github.com/spf13/cobra"
)
var context_lsCmd = &cobra.Command{
Use: "ls [OPTIONS]",
Short: "List contexts",
Aliases: []string{"list"},
Run: func(cmd *cobra.Command, args []string) {},
}
func init() {
carapace.Gen(context_lsCmd).Standalone()
context_lsCmd.Flags().String("format", "", "Format output using a custom template:")
context_lsCmd.Flags().BoolP("quiet", "q", false, "Only show context names")
contextCmd.AddCommand(context_lsCmd)
}