Fleshed out the framework of most of the wwctl overlay command group.
This commit is contained in:
@@ -15,12 +15,13 @@ var (
|
||||
}
|
||||
SystemOverlay bool
|
||||
ListFiles bool
|
||||
|
||||
CreateDirs bool
|
||||
)
|
||||
|
||||
func init() {
|
||||
baseCmd.PersistentFlags().BoolVarP(&SystemOverlay, "system", "s", false, "Show system overlays instead of runtime")
|
||||
baseCmd.PersistentFlags().BoolVarP(&ListFiles, "files", "f", false, "List files contained within a given overlay")
|
||||
baseCmd.PersistentFlags().BoolVarP(&CreateDirs, "parents", "p", false, "Create any necessary parent directories")
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user