First pass at a rework of the overlay subsystem in Warewulf
This commit is contained in:
@@ -5,13 +5,12 @@ import "github.com/spf13/cobra"
|
||||
var (
|
||||
baseCmd = &cobra.Command{
|
||||
DisableFlagsInUseLine: true,
|
||||
Use: "import [OPTIONS] {system|runtime} OVERLAY_NAME FILE [NEW_NAME]",
|
||||
Short: "Import a file into a Warewulf Overlay",
|
||||
Long: "This command imports the FILE into the Warewulf OVERLAY_NAME.\n" +
|
||||
"Optionally, the file can be renamed to NEW_NAME",
|
||||
RunE: CobraRunE,
|
||||
Args: cobra.RangeArgs(3, 4),
|
||||
Aliases: []string{"cp"},
|
||||
Use: "import [OPTIONS] OVERLAY_NAME FILE [NEW_NAME]",
|
||||
Short: "Import a file into a Warewulf Overlay",
|
||||
Long: "This command imports the FILE into the Warewulf OVERLAY_NAME.\nOptionally, the file can be renamed to NEW_NAME",
|
||||
RunE: CobraRunE,
|
||||
Args: cobra.RangeArgs(2, 3),
|
||||
Aliases: []string{"cp"},
|
||||
}
|
||||
PermMode int32
|
||||
NoOverlayUpdate bool
|
||||
|
||||
Reference in New Issue
Block a user