UI updates to include "overlay kind"
This commit is contained in:
@@ -6,18 +6,16 @@ import (
|
||||
|
||||
var (
|
||||
baseCmd = &cobra.Command{
|
||||
Use: "create [flags] <overlay name>",
|
||||
Use: "create [flags] <overlay kind> <overlay name>",
|
||||
Short: "Initialize a new Overlay",
|
||||
Long: "This command will create a new empty overlay.",
|
||||
RunE: CobraRunE,
|
||||
Args: cobra.ExactArgs(1),
|
||||
Args: cobra.ExactArgs(2),
|
||||
}
|
||||
SystemOverlay bool
|
||||
NoOverlayUpdate bool
|
||||
)
|
||||
|
||||
func init() {
|
||||
baseCmd.PersistentFlags().BoolVarP(&SystemOverlay, "system", "s", false, "Show System Overlays as well")
|
||||
baseCmd.PersistentFlags().BoolVarP(&NoOverlayUpdate, "noupdate", "n", false, "Don't update overlays")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user