def process_bicep()

in bicep-typeless.py [0:0]


def process_bicep(input_path: str, output_path: str) -> None:
    with open(input_path) as fr:
        lines = fr.readlines()
    
    with open(output_path, "w") as fw:
        for line in lines:
            if line.startswith("param") or line.startswith("output"):
                fw.write(process_param(line))
            elif line.startswith("import"):
                if "exports.bicep" in line:
                    fw.write(line)
                continue
            elif line.startswith("func "):
                fw.write(process_func(line))
            else:
                fw.write(line)