def __init__(self):
    super(UserManage, self).__init__()
    self.parser.prog = 'couchbase-cli user-manage'
    group = self.parser.add_argument_group('User manage options')
    group.add_argument('--delete', dest='delete', action='store_true', default=False, help='Delete an existing RBAC user')
    group.add_argument('--get', dest='get', action='store_true', default=False, help='Display RBAC user details')
    group.add_argument('--list', dest='list', action='store_true', default=False, help='List all RBAC users and their roles')
    group.add_argument('--my-roles', dest='my_roles', action='store_true', default=False, help='List my roles')
    group.add_argument('--set', dest='set', action='store_true', default=False, help='Create or edit an RBAC user')
    group.add_argument('--set-group', dest='set_group', action='store_true', default=False, help='Create or edit a user group')
    group.add_argument('--delete-group', dest='delete_group', action='store_true', default=False, help='Delete a user group')
    group.add_argument('--list-groups', dest='list_group', action='store_true', default=False, help='List all groups')
    group.add_argument('--get-group', dest='get_group', action='store_true', default=False, help='Get group')
    group.add_argument('--rbac-username', dest='rbac_user', metavar='<username>', help='The RBAC username')
    group.add_argument('--rbac-password', dest='rbac_pass', metavar='<password>', help='The RBAC password')
    group.add_argument('--rbac-name', dest='rbac_name', metavar='<name>', help='The full name of the user')
    group.add_argument('--roles', dest='roles', metavar='<roles_list>', help='The roles for the specified user')
    group.add_argument('--auth-domain', dest='auth_domain', metavar='<domain>', choices=['external', 'local'], help='The authentication type for the specified user')
    group.add_argument('--user-groups', dest='groups', metavar='<groups>', help='List of groups for the user to be added to')
    group.add_argument('--group-name', dest='group', metavar='<group>', help='Group name')
    group.add_argument('--group-description', dest='description', metavar='<text>', help='Group description')
    group.add_argument('--ldap-ref', dest='ldap_ref', metavar='<ref>', help="LDAP group's distinguished name")
def __init__(self):
    super(UserManage, self).__init__()
    self.parser.prog = 'couchbase-cli user-manage'
    group = self.parser.add_argument_group('User manage options')
    group.add_argument('--delete', dest='delete', action='store_true', default=False, help='Delete an existing RBAC user')
    group.add_argument('--get', dest='get', action='store_true', default=False, help='Display RBAC user details')
    group.add_argument('--list', dest='list', action='store_true', default=False, help='List all RBAC users and their roles')
    group.add_argument('--my-roles', dest='my_roles', action='store_true', default=False, help='List my roles')
    group.add_argument('--set', dest='set', action='store_true', default=False, help='Create or edit an RBAC user')
    group.add_argument('--set-group', dest='set_group', action='store_true', default=False, help='Create or edit a user group')
    group.add_argument('--delete-group', dest='delete_group', action='store_true', default=False, help='Delete a user group')
    group.add_argument('--list-groups', dest='list_group', action='store_true', default=False, help='List all groups')
    group.add_argument('--get-group', dest='get_group', action='store_true', default=False, help='Get group')
    group.add_argument('--rbac-username', dest='rbac_user', metavar='<username>', help='The RBAC username')
    group.add_argument('--rbac-password', dest='rbac_pass', metavar='<password>', help='The RBAC password')
    group.add_argument('--rbac-name', dest='rbac_name', metavar='<name>', help='The full name of the user')
    group.add_argument('--roles', dest='roles', metavar='<roles_list>', help='The roles for the specified user')
    group.add_argument('--auth-domain', dest='auth_domain', metavar='<domain>', choices=['external', 'local'], help='The authentication type for the specified user')
    group.add_argument('--user-groups', dest='groups', metavar='<groups>', help='List of groups for the user to be added to')
    group.add_argument('--group-name', dest='group', metavar='<group>', help='Group name')
    group.add_argument('--group-description', dest='description', metavar='<text>', help='Group description')
    group.add_argument('--ldap-ref', dest='ldap_ref', metavar='<ref>', help="LDAP group's distinguished name")