rust-lang / rust-lang/cargo

Support `cargo owner add`

Open
#4,352 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Command-owner S-needs-mentor
Dominant language
Rust
Stars
15.5k
Forks
3k
Avg merge
23h 30m
Merged PRs (30d)
51

Description

$ cargo owner add foo
error: Invalid arguments.

Usage:
    cargo owner [options] [<crate>]
$ cargo owner --help
...
$ cargo owner -a foo

Every. Time.

The error message isn't really helpful there (what's "options"?). We should either fix the error message or just support cargo owner add foo. Both would be good too.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the cargo owner command entry point and inspect how its arguments and help text are defined. Reproduce cargo owner add foo and cargo owner -a foo, then identify the relevant command or error tests. Done means the requested syntax is supported, or the invalid-arguments message clearly explains the accepted options; the issue leaves that choice open.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.