Skip to content

[Proposal] Subcommand to operate on custom registry info #4690

@fa7ca7

Description

@fa7ca7

I haven't found this among opened issues. Feel free to close if this idea is already present in some thread.

$ cargo registry -h
Operate on custom registry info

Usage:
cargo registry [options]

Options:
-h, --help              Print this message
-g, --global            Save to $HOME/.cargo/config (else save to .cargo/config)
-a, --add NAME INDEX    Set registry info by name and index URL
-r, --remove NAME       Remove registry info by name
-l, --list              List all the registries (local registries overrides global)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-registriesArea: registriesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions