Skip to content

cargo login should give feedback on success #5868

Closed
@simeg

Description

@simeg

When running cargo login it asks for a token, and when I provide it with a token, good or bad, it doesn't give me any feedback. As a user I don't know if I inputted the correct token or something went wrong. The status code is 0 both on valid token and invalid token.

$ cargo login
    Updating registry `https://github.com/rust-lang/crates.io-index`
please visit https://crates.io/me and paste the API Token below
[token]

I'd expect cargo to say something. Maybe it can't tell if the token is good or bad at this point of time , but I'd expect it to at least acknowledge that it received my inputted token.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions