def on_run_environment(options, targets):
    opts = ["%s=%s" % (opt, value) for opt, value in sorted(options.items())]
    targets = [t.title() for t in targets or ["run"]]
    on_event("Env", " ".join(targets), "&".join(opts))
dataset/ETHPy150Open platformio/platformio/platformio/telemetry.py/on_run_environment/original