squash commits

Signed-off-by: jason yang <jasonyangshadow@gmail.com>
This commit is contained in:
jason yang
2023-05-15 10:31:03 +00:00
parent 5ef7cdbbf2
commit 869d3d7c76
4 changed files with 117 additions and 0 deletions

View File

@@ -23,10 +23,12 @@ var (
},
}
NoOverlayUpdate bool
CreateDirs bool
)
func init() {
baseCmd.PersistentFlags().BoolVarP(&NoOverlayUpdate, "noupdate", "n", false, "Don't update overlays")
baseCmd.PersistentFlags().BoolVarP(&CreateDirs, "parents", "p", false, "Create any necessary parent directories")
}
// GetRootCommand returns the root cobra.Command for the application.