

def main(argv=None):
    parser = argparse.ArgumentParser(description='Set up schema')
    options.add_skip_default_metrics(parser)
    options.add_database(parser)
    options.add_metric_package_names(parser)
    args = parser.parse_args(argv)
    with sqlite3.connect(args.database) as db:
        create_schema(db)
        populate_metric_ids(db, args.metric_package_names, args.skip_default_metrics)

dataset/ETHPy150Open Yelp/git-code-debt/git_code_debt/create_tables.py main/original