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

22 lines
589 B
Go

package cmd
import (
"github.com/rsteube/carapace"
"github.com/spf13/cobra"
)
var context_createCmd = &cobra.Command{
Use: "create [OPTIONS] CONTEXT",
Short: "Create a context",
Run: func(cmd *cobra.Command, args []string) {},
}
func init() {
carapace.Gen(context_createCmd).Standalone()
context_createCmd.Flags().String("description", "", "Description of the context")
context_createCmd.Flags().String("docker", "", "set the docker endpoint")
context_createCmd.Flags().String("from", "", "create context from a named context")
contextCmd.AddCommand(context_createCmd)
}