#!/usr/bin/env python

import argparse 

from Zoomer import Zoomer

description = """
Generates zoom-in initial conditions by running Enzo and MUSIC iteratively. 
Run with example.cfg to perform unit testing.
"""

zoomin_config_help_msg = """Name of the Zoomin config file.
The Zoomin config file specifies all necessary environmental paramters that 
are required for it to run, such as the location of enzo and MUSIC executables, 
all simulation outputs, and template config/parameter files.
"""

if __name__ == "__main__":

    parse = argparse.ArgumentParser(description=description)
    parse.add_argument("zoomin_cfg", help=zoomin_config_help_msg)

    args = vars(parse.parse_args())

    zoomer = Zoomer(args["zoomin_cfg"])
    zoomer.zoom()

