Files
warewulf/internal/app/wwctl/clean/root.go
Christian Goll ff84974506 added wwctl clean to remove cache/dead overlays
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-10-28 15:20:41 -06:00

21 lines
433 B
Go

package clean
import (
"github.com/spf13/cobra"
)
type variables struct {
}
func GetCommand() *cobra.Command {
vars := variables{}
baseCmd := &cobra.Command{
DisableFlagsInUseLine: true,
Use: "clean",
Short: "Clean up",
Long: "This command cleans the OCI cache and removes leftovers from deleted nodes",
RunE: CobraRunE(&vars),
}
return baseCmd
}