I am using wac (specifically, the wac_resolver crate) as a library in another program. As part of this, I call RegistryPackageResolver::resolve(). I am using the wa.dev registry for dev-test purposes, and when I try to resolve a package for the first time I get this:
? Package `fermyon:spin` is not in `warg.wa.dev` registry.
Registry recommends using `fermyon.wa.dev` registry for packages in `fermyon` namespace.
Accept recommendation y/N
These prompts come from warg_client, and I'd like to be able to opt out of them, e.g. in CI scenarios.
It seems like warg_client has a cli-interactive feature, which is on by default. Would it be possible for wac to surface a similar feature? (I'm happy to send a PR for this if you're open to it.)