def __init__(self):
    super(CollectionManage, self).__init__()
    self.parser.prog = 'couchbase-cli collection-manage'
    group = self.parser.add_argument_group('Collection manage option')
    group.add_argument('--bucket', dest='bucket', metavar='<bucket>', required=True, help='The bucket to use')
    group.add_argument('--create-scope', dest='create_scope', metavar='<scope>', default=None, help='The name of the scope to make')
    group.add_argument('--drop-scope', dest='drop_scope', metavar='<scope>', default=None, help='The name of the scope to remove')
    group.add_argument('--list-scopes', dest='list_scopes', action='store_true', default=None, help='List all of the scopes in the bucket')
    group.add_argument('--create-collection', dest='create_collection', metavar='<collection>', default=None, help='The path to the collection to make')
    group.add_argument('--drop-collection', dest='drop_collection', metavar='<collection>', default=None, help='The path to the collection to remove')
    group.add_argument('--list-collections', dest='list_collections', metavar='<scope_list>', default=None, const='', nargs='?', help='List all of the collections in the provided scopes. If no scopes are provided it will print all collections')
    group.add_argument('--max-ttl', dest='max_ttl', metavar='<seconds>', type=int, help='Set the maximum TTL the collection will accept')
def __init__(self):
    super(CollectionManage, self).__init__()
    self.parser.prog = 'couchbase-cli collection-manage'
    group = self.parser.add_argument_group('Collection manage option')
    group.add_argument('--bucket', dest='bucket', metavar='<bucket>', required=True, help='The bucket to use')
    group.add_argument('--create-scope', dest='create_scope', metavar='<scope>', default=None, help='The name of the scope to make')
    group.add_argument('--drop-scope', dest='drop_scope', metavar='<scope>', default=None, help='The name of the scope to remove')
    group.add_argument('--list-scopes', dest='list_scopes', action='store_true', default=None, help='List all of the scopes in the bucket')
    group.add_argument('--create-collection', dest='create_collection', metavar='<collection>', default=None, help='The path to the collection to make')
    group.add_argument('--drop-collection', dest='drop_collection', metavar='<collection>', default=None, help='The path to the collection to remove')
    group.add_argument('--list-collections', dest='list_collections', metavar='<scope_list>', default=None, const=, nargs='?', help='List all of the collections in the provided scopes. If no scopes are provided it will print all collections')
    group.add_argument('--max-ttl', dest='max_ttl', metavar='<seconds>', type=int, help='Set the maximum TTL the collection will accept')