def parse_env_file()

in util/export_env_variables.py [0:0]


def parse_env_file(env_path):
    env_vars = []
    with open(env_path, "r") as file:
        for line in file:
            line = line.strip()
            if not line or line.startswith("#"):
                continue
            if "=" in line:
                key, value = line.split("=", 1)
                value = value.strip().strip('"').strip("'")
                env_vars.append({
                    "name": key.strip(),
                    "value": value,
                    "slotSetting": False
                })
    return env_vars