def METHOD_NAME(args):
    params = extract_config_params_from_args(args)
    for dir in args.directory:
        print "compiling files in", dir
        configuration = config(dir, params)
        template_prepare(configuration, dir)