from csst_dag import DFS from csst_dfs_client import plan import argparse import sys import os plan_path = sys.argv[1] assert os.path.exists(plan_path), f"Plan file {plan_path} does not exist" res = plan.write_file(local_file="plan.json") print(res)