def __init__(self):
    super(SettingCluster, self).__init__()
    self.parser.prog = 'couchbase-cli setting-cluster'
    group = self.parser.add_argument_group('Cluster settings')
    group.add_argument('--cluster-username', dest='new_username', metavar='<username>', help='The cluster administrator username')
    group.add_argument('--cluster-password', dest='new_password', metavar='<password>', help='Only compact the data files')
    group.add_argument('--cluster-port', dest='port', type=int, metavar='<port>', help='The cluster administration console port')
    group.add_argument('--cluster-ramsize', dest='data_mem_quota', metavar='<quota>', type=int, help='The data service memory quota in mebibytes')
    group.add_argument('--cluster-index-ramsize', dest='index_mem_quota', metavar='<quota>', type=int, help='The index service memory quota in mebibytes')
    group.add_argument('--cluster-fts-ramsize', dest='fts_mem_quota', metavar='<quota>', type=int, help='The full-text service memory quota in mebibytes')
    group.add_argument('--cluster-eventing-ramsize', dest='eventing_mem_quota', metavar='<quota>', type=int, help='The Eventing service memory quota in mebibytes')
    group.add_argument('--cluster-analytics-ramsize', dest='cbas_mem_quota', metavar='<quota>', type=int, help='The analytics service memory quota in mebibytes')
    group.add_argument('--cluster-name', dest='name', metavar='<name>', help='The cluster name')
def __init__(self):
    super(SettingCluster, self).__init__()
    self.parser.prog = 'couchbase-cli setting-cluster'
    group = self.parser.add_argument_group('Cluster settings')
    group.add_argument('--cluster-username', dest='new_username', metavar='<username>', help='The cluster administrator username')
    group.add_argument('--cluster-password', dest='new_password', metavar='<password>', help='Only compact the data files')
    group.add_argument('--cluster-port', dest='port', type=int, metavar='<port>', help='The cluster administration console port')
    group.add_argument('--cluster-ramsize', dest='data_mem_quota', metavar='<quota>', type=int, help='The data service memory quota in mebibytes')
    group.add_argument('--cluster-index-ramsize', dest='index_mem_quota', metavar='<quota>', type=int, help='The index service memory quota in mebibytes')
    group.add_argument('--cluster-fts-ramsize', dest='fts_mem_quota', metavar='<quota>', type=int, help='The full-text service memory quota in mebibytes')
    group.add_argument('--cluster-eventing-ramsize', dest='eventing_mem_quota', metavar='<quota>', type=int, help='The Eventing service memory quota in mebibytes')
    group.add_argument('--cluster-analytics-ramsize', dest='cbas_mem_quota', metavar='<quota>', type=int, help='The analytics service memory quota in mebibytes')
    group.add_argument('--cluster-name', dest='name', metavar='<name>', help='The cluster name')