def __init__(self):
    super(ClusterInit, self).__init__(True, True, 'http://127.0.0.1:8091')
    self.parser.prog = 'couchbase-cli cluster-init'
    group = self.parser.add_argument_group('Cluster initialization options')
    group.add_argument('--cluster-username', dest='username', required=True, metavar='<username>', help='The cluster administrator username')
    group.add_argument('--cluster-password', dest='password', required=True, metavar='<password>', help='The cluster administrator password')
    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', type=int, metavar='<quota>', help='The data service memory quota in mebibytes')
    group.add_argument('--cluster-index-ramsize', dest='index_mem_quota', type=int, metavar='<quota>', help='The index service memory quota in mebibytes')
    group.add_argument('--cluster-fts-ramsize', dest='fts_mem_quota', type=int, metavar='<quota>', help='The full-text service memory quota in mebibytes')
    group.add_argument('--cluster-eventing-ramsize', dest='eventing_mem_quota', type=int, metavar='<quota>', help='The Eventing service memory quota in mebibytes')
    group.add_argument('--cluster-analytics-ramsize', dest='cbas_mem_quota', type=int, metavar='<quota>', help='The analytics service memory quota in mebibytes')
    group.add_argument('--cluster-name', dest='name', metavar='<name>', help='The cluster name')
    group.add_argument('--index-storage-setting', dest='index_storage_mode', choices=['default', 'memopt'], metavar='<mode>', help='The index storage backend (Defaults to "default)"')
    group.add_argument('--services', dest='services', default='data', metavar='<service_list>', help='The services to run on this server')
    group.add_argument('--update-notifications', dest='notifications', metavar='<1|0>', choices=['0', '1'], default='1', help='Enables/disable software update notifications')
def __init__(self):
    super(ClusterInit, self).__init__(True, True, 'http://127.0.0.1:8091')
    self.parser.prog = 'couchbase-cli cluster-init'
    group = self.parser.add_argument_group('Cluster initialization options')
    group.add_argument('--cluster-username', dest='username', required=True, metavar='<username>', help='The cluster administrator username')
    group.add_argument('--cluster-password', dest='password', required=True, metavar='<password>', help='The cluster administrator password')
    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', type=int, metavar='<quota>', help='The data service memory quota in mebibytes')
    group.add_argument('--cluster-index-ramsize', dest='index_mem_quota', type=int, metavar='<quota>', help='The index service memory quota in mebibytes')
    group.add_argument('--cluster-fts-ramsize', dest='fts_mem_quota', type=int, metavar='<quota>', help='The full-text service memory quota in mebibytes')
    group.add_argument('--cluster-eventing-ramsize', dest='eventing_mem_quota', type=int, metavar='<quota>', help='The Eventing service memory quota in mebibytes')
    group.add_argument('--cluster-analytics-ramsize', dest='cbas_mem_quota', type=int, metavar='<quota>', help='The analytics service memory quota in mebibytes')
    group.add_argument('--cluster-name', dest='name', metavar='<name>', help='The cluster name')
    group.add_argument('--index-storage-setting', dest='index_storage_mode', choices=['default', 'memopt'], metavar='<mode>', help='The index storage backend (Defaults to "default)"')
    group.add_argument('--services', dest='services', default='data', metavar='<service_list>', help='The services to run on this server')
    group.add_argument('--update-notifications', dest='notifications', metavar='<1|0>', choices=['0', '1'], default='1', help='Enables/disable software update notifications')