Don't rebuild overlays on overlay commands automatically

This commit is contained in:
Gregory Kurtzer
2021-09-29 22:06:46 -07:00
parent 8d56a866e1
commit 499582e211
12 changed files with 7 additions and 242 deletions

View File

@@ -12,13 +12,11 @@ var (
RunE: CobraRunE,
Args: cobra.MinimumNArgs(3),
}
PermMode int32
NoOverlayUpdate bool
PermMode int32
)
func init() {
baseCmd.PersistentFlags().Int32VarP(&PermMode, "mode", "m", 0755, "Permission mode for directory")
baseCmd.PersistentFlags().BoolVarP(&NoOverlayUpdate, "noupdate", "n", false, "Don't update overlays")
}
// GetRootCommand returns the root cobra.Command for the application.