Files
warewulf/internal/app/wwctl/overlay/create/root.go
jcsiadal 0b93d6c277 Update help
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2021-11-08 11:36:21 -08:00

25 lines
500 B
Go

package create
import (
"github.com/spf13/cobra"
)
var (
baseCmd = &cobra.Command{
DisableFlagsInUseLine: true,
Use: "create [OPTIONS] {system|runtime} OVERLAY_NAME",
Short: "Initialize a new Overlay",
Long: "This command creates a new empty system or runtime overlay named OVERLAY_NAME.",
RunE: CobraRunE,
Args: cobra.ExactArgs(2),
}
)
func init() {
}
// GetRootCommand returns the root cobra.Command for the application.
func GetCommand() *cobra.Command {
return baseCmd
}