def __init__(self):
    super(SettingRebalance, self).__init__()
    self.parser.prog = 'couchbase-cli setting-rebalance'
    group = self.parser.add_argument_group('Rebalance configuration')
    group.add_argument('--set', default=False, action='store_true', help='Set the automatic rebalance retry settings.')
    group.add_argument('--get', default=False, action='store_true', help='Get the automatic rebalance retry settings.')
    group.add_argument('--cancel', default=False, action='store_true', help='Cancel pending rebalance retry.')
    group.add_argument('--moves-per-node', type=int, metavar='<num>', help='Specify the number of [1-64] vBuckets to move concurrently')
    group.add_argument('--pending-info', default=False, action='store_true', help='Get info for pending rebalance retry.')
    group.add_argument('--enable', metavar='<1|0>', choices=['1', '0'], help='Enable or disable automatic rebalance retry')
    group.add_argument('--wait-for', metavar='<sec>', type=int, help='Specify the time to wat before retrying the rebalance [5-3600] seconds.')
    group.add_argument('--max-attempts', metavar='<num>', type=int, help='Maximum number of rebalance retires [1-3].')
    group.add_argument('--rebalance-id', metavar='<id>', help='Specify the id of the failed rebalance to cancel the retry.')
def __init__(self):
    super(SettingRebalance, self).__init__()
    self.parser.prog = 'couchbase-cli setting-rebalance'
    group = self.parser.add_argument_group('Rebalance configuration')
    group.add_argument('--set', default=False, action='store_true', help='Set the automatic rebalance retry settings.')
    group.add_argument('--get', default=False, action='store_true', help='Get the automatic rebalance retry settings.')
    group.add_argument('--cancel', default=False, action='store_true', help='Cancel pending rebalance retry.')
    group.add_argument('--moves-per-node', type=int, metavar='<num>', help='Specify the number of [1-64] vBuckets to move concurrently')
    group.add_argument('--pending-info', default=False, action='store_true', help='Get info for pending rebalance retry.')
    group.add_argument('--enable', metavar='<1|0>', choices=['1', '0'], help='Enable or disable automatic rebalance retry')
    group.add_argument('--wait-for', metavar='<sec>', type=int, help='Specify the time to wat before retrying the rebalance [5-3600] seconds.')
    group.add_argument('--max-attempts', metavar='<num>', type=int, help='Maximum number of rebalance retires [1-3].')
    group.add_argument('--rebalance-id', metavar='<id>', help='Specify the id of the failed rebalance to cancel the retry.')