GetGroup get group from command flags
(cmd *cobra.Command)
| 76 | |
| 77 | // GetGroup get group from command flags |
| 78 | func GetGroup(cmd *cobra.Command) string { |
| 79 | group, err := cmd.Flags().GetString(flagGroup) |
| 80 | cmdutil.CheckErr(err) |
| 81 | return group |
| 82 | } |
| 83 | |
| 84 | // GetCluster get cluster from command flags |
| 85 | func GetCluster(cmd *cobra.Command) string { |