def __init__(self):
    super(SettingAudit, self).__init__()
    self.parser.prog = 'couchbase-cli setting-audit'
    self.parser.description = 'Available only in Couchbase Server Enterprise Edition'
    group = self.parser.add_argument_group('Audit settings')
    group.add_argument('--list-filterable-events', dest='list_events', action='store_true', help='Retrieve a list of filterable event IDs and the descriptions')
    group.add_argument('--get-settings', dest='get_settings', action='store_true', help='Retrieve current audit settings')
    group.add_argument('--set', dest='set_settings', action='store_true', help='Set current audit settings')
    group.add_argument('--audit-enabled', dest='enabled', metavar='<1|0>', choices=['0', '1'], help='Enable/disable auditing')
    group.add_argument('--audit-log-path', dest='log_path', metavar='<path>', help='The audit log path')
    group.add_argument('--audit-log-rotate-interval', dest='rotate_interval', type=int, metavar='<seconds>', help='The audit log rotate interval')
    group.add_argument('--audit-log-rotate-size', dest='rotate_size', type=int, metavar='<bytes>', help='The audit log rotate size')
    group.add_argument('--disabled-users', dest='disabled_users', default=None, help='A comma-separated list of users to ignore events from')
    group.add_argument('--disable-events', dest='disable_events', default=None, help='A comma-separated list of audit-event IDs to not audit')
def __init__(self):
    super(SettingAudit, self).__init__()
    self.parser.prog = 'couchbase-cli setting-audit'
    self.parser.description = 'Available only in Couchbase Server Enterprise Edition'
    group = self.parser.add_argument_group('Audit settings')
    group.add_argument('--list-filterable-events', dest='list_events', action='store_true', help='Retrieve a list of filterable event IDs and the descriptions')
    group.add_argument('--get-settings', dest='get_settings', action='store_true', help='Retrieve current audit settings')
    group.add_argument('--set', dest='set_settings', action='store_true', help='Set current audit settings')
    group.add_argument('--audit-enabled', dest='enabled', metavar='<1|0>', choices=['0', '1'], help='Enable/disable auditing')
    group.add_argument('--audit-log-path', dest='log_path', metavar='<path>', help='The audit log path')
    group.add_argument('--audit-log-rotate-interval', dest='rotate_interval', type=int, metavar='<seconds>', help='The audit log rotate interval')
    group.add_argument('--audit-log-rotate-size', dest='rotate_size', type=int, metavar='<bytes>', help='The audit log rotate size')
    group.add_argument('--disabled-users', dest='disabled_users', default=None, help='A comma-separated list of users to ignore events from')
    group.add_argument('--disable-events', dest='disable_events', default=None, help='A comma-separated list of audit-event IDs to not audit')