insta icon indicating copy to clipboard operation
insta copied to clipboard

Setting `unreferenced` from environment var

Open sgpthomas opened this issue 8 months ago • 1 comments

Is there a way to use the option --unreferenced=reject without using cargo-insta? I'm in a situation where I want to use insta but not rely on cargo-insta existing when running in CI. As far as I can tell, there is no way to do this with an environment var.

Looks like the other option is using .insta.yaml (#759), but I would prefer an env var option. Is this a possibility?

sgpthomas avatar Apr 24 '25 17:04 sgpthomas

I don't think this exists at the moment. would be very willing to merge a change to add it — we have the equivalent for many other options...

max-sixty avatar Apr 24 '25 18:04 max-sixty