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,11 +12,9 @@ var (
RunE: CobraRunE,
Args: cobra.ExactArgs(2),
}
NoOverlayUpdate bool
)
func init() {
baseCmd.PersistentFlags().BoolVarP(&NoOverlayUpdate, "noupdate", "n", false, "Don't update overlays")
}
// GetRootCommand returns the root cobra.Command for the application.