UI Updates with a few minor fixups scattered here and there

This commit is contained in:
Gregory Kurtzer
2021-01-14 20:23:42 -08:00
parent 72a40c2eca
commit 72b1d8c9d8
67 changed files with 358 additions and 478 deletions

View File

@@ -6,17 +6,18 @@ import (
var (
baseCmd = &cobra.Command{
Use: "edit [overlay name] [file path]",
Short: "Edit Warewulf Overlay files",
Long: "Warewulf edit overlay files",
RunE: CobraRunE,
Args: cobra.ExactArgs(2),
Use: "edit [flags] <overlay name> <file path>",
Short: "Edit/Create a file within a Warewulf Overlay",
Long: "This command will allow you to edit or create a new file within a given\n" +
"overlay. Note: when creating files ending in a '.ww' suffix this will always be\n" +
"parsed as a Warewulf template file, and the suffix will be removed automatically.",
RunE: CobraRunE,
Args: cobra.ExactArgs(2),
}
SystemOverlay bool
ListFiles bool
CreateDirs bool
PermMode int32
SystemOverlay bool
ListFiles bool
CreateDirs bool
PermMode int32
NoOverlayUpdate bool
)
@@ -32,5 +33,3 @@ func init() {
func GetCommand() *cobra.Command {
return baseCmd
}