def process_cli(log_level, mets, page_id, tasks):
    """
    Process a series of tasks
    """
    log = getLogger('ocrd.cli.process')

    run_tasks(mets, log_level, page_id, tasks)
    log.info("Finished")
Process a series of tasks