Skip to content

Create CLI flag to disable registry fetching #122

@thomastaylor312

Description

@thomastaylor312

Although there is a cargo feature that allows you to disable support for registries, there times you wouldn't want to fetch from a registry and still have the ability to fetch from a registry later on. Right now, you have to do cargo install wac-cli --no-default-features --features wit to disable it. Most people who are trying this tooling out for the first time get an error when they try to wac encode (for example, our composition example we have in wasmCloud to introduce people to the concept):

error: no home registry registry server URL is configured

There should be a global env variable and flag that allows you to disable fetching from a registry

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions