Feature request: pull only user-set environment variables

It would be helpful to be able to pull only the user-set environment variables when using vercel env pull.

At the moment, the CLI pulls all env vars, including VERCEL_ and TURBO_-prefixed vars that are not explicitly set by us (in the Vercel UI).

Thus, adding a flag like --user-set to the vercel env pull command would be helpful.

I don’t think we pull system environment variable that are set to blank as part of [cli] Don't pull system environment vars in dev by onsclom · Pull Request #11526 · vercel/vercel · GitHub. Do you have a repro?

It’s a private repo, unfortunately.

But I am pulling from Production and Staging, not Development. Is that the cause?

Not sure. What version of CLI are you using? I just ran vercel env pull on Vercel CLI 41.4.1 and I cannot locate any TURBO_ prefixed env vars on .env.local file.

I am also on v41.4.1