Reorganized some of the commands
This commit is contained in:
@ -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.`,
|
||||
|
Reference in New Issue
Block a user