Reorganized some of the commands

This commit is contained in:
Gregory Ballantine
2018-07-20 14:21:51 -04:00
parent 73ce95d30b
commit 4960f91665
10 changed files with 228 additions and 210 deletions

View File

@ -18,15 +18,11 @@ var (
func init() {
// register group subcommands
groupCmd.AddCommand(groupAddCmd, groupDeleteCmd)
}
func GetGroupCmd() *cobra.Command {
return groupCmd
GroupCmd.AddCommand(groupAddCmd, groupDeleteCmd)
}
// define group command
var groupCmd = &cobra.Command{
var GroupCmd = &cobra.Command{
Use: "group",
Short: "Manage LDAP group resources",
Long: `Perform various LDAP operations on group resources.`,