Created template for server process subcommands
This commit is contained in:
20
internal/app/wwctl/server/start/root.go
Normal file
20
internal/app/wwctl/server/start/root.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package start
|
||||
|
||||
import "github.com/spf13/cobra"
|
||||
|
||||
var (
|
||||
baseCmd = &cobra.Command{
|
||||
Use: "start",
|
||||
Short: "Start Warewulf server",
|
||||
Long: "Warewulf Server ",
|
||||
RunE: CobraRunE,
|
||||
}
|
||||
)
|
||||
|
||||
func init() {
|
||||
}
|
||||
|
||||
// GetRootCommand returns the root cobra.Command for the application.
|
||||
func GetCommand() *cobra.Command {
|
||||
return baseCmd
|
||||
}
|
||||
Reference in New Issue
Block a user