def __init__(self):
    super(ResetAdminPassword, self).__init__()
    self.parser.prog = 'couchbase-cli reset-admin-password'
    group = self.parser.add_argument_group('Reset password options')
    group.add_argument('--new-password', dest='new_password', metavar='<password>', required=False, action=CBNonEchoedAction, envvar=None, prompt_text='Enter new administrator password:', confirm_text='Confirm new administrator password:', help='The new administrator password')
    group.add_argument('--regenerate', dest='regenerate', action='store_true', help='Generates a random administrator password')
    group.add_argument('-P', '--port', metavar='<port>', default='8091', help='The REST API port, defaults to 8091')
def __init__(self):
    super(ResetAdminPassword, self).__init__()
    self.parser.prog = 'couchbase-cli reset-admin-password'
    group = self.parser.add_argument_group('Reset password options')
    group.add_argument('--new-password', dest='new_password', metavar='<password>', required=False, action=CBNonEchoedAction, envvar=None, prompt_text='Enter new administrator password:', confirm_text='Confirm new administrator password:', help='The new administrator password')
    group.add_argument('--regenerate', dest='regenerate', action='store_true', help='Generates a random administrator password')
    group.add_argument('-P', '--port', metavar='<port>', default='8091', help='The REST API port, defaults to 8091')