Working through node and group configuration via CLI

This commit is contained in:
Gregory Kurtzer
2020-11-21 21:51:14 -08:00
parent 8453aecc9d
commit 5181940952
16 changed files with 279 additions and 22 deletions

View File

@@ -9,9 +9,11 @@ var (
Long: "Add new node ",
RunE: CobraRunE,
}
SetGroup string
)
func init() {
baseCmd.PersistentFlags().StringVarP(&SetGroup, "group", "g", "default", "Set group to add nodes to")
}
// GetRootCommand returns the root cobra.Command for the application.