Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
fa7ca7 opened this issue Oct 31, 2017 · 2 comments
Closed

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

fa7ca7 opened this issue Oct 31, 2017 · 2 comments
Labels
A-registries Area: registries C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

Comments

@fa7ca7
Copy link
Contributor

fa7ca7 commented Oct 31, 2017

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)
@withoutboats withoutboats added C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` A-registries Area: registries labels Oct 31, 2017
@withoutboats
Copy link
Contributor

I think it would be a good idea to build this out of tree as a custom subcommand first. :-) I think that's how we'd like new subcommands to start out.

@fa7ca7
Copy link
Contributor Author

fa7ca7 commented May 11, 2018

Here is my first attempt cargo-reg

@fa7ca7 fa7ca7 closed this as completed May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-registries Area: registries C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Projects
None yet
Development

No branches or pull requests

2 participants