We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cargo local-registry
You can still use it as cargo-local-registry. But it no longer works as a cargo subcommand. Cargo invokes it as
cargo-local-registry
cargo-local-registry local-registry --sync blah.lock vendor/
... which means the vendor/ is treated as an extra argument and clap fails with
vendor/
error: unexpected argument 'vendor' found Usage: cargo-local-registry [OPTIONS] <PATH> For more information, try '--help'.
See https://github.com/clap-rs/clap/tree/master/examples for how it's done. I don't know if you can support both invocation styles using clap.
Edit: thought this was released! It wasn't released in 0.2.7.
The text was updated successfully, but these errors were encountered:
Hello, this was merged on master but not released yet. I'll have a look at this later this week, thanks for the bug report
Sorry, something went wrong.
No branches or pull requests
You can still use it as
cargo-local-registry
. But it no longer works as a cargo subcommand. Cargo invokes it as... which means the
vendor/
is treated as an extra argument and clap fails withSee https://github.com/clap-rs/clap/tree/master/examples for how it's done. I don't know if you can support both invocation styles using clap.
Edit: thought this was released! It wasn't released in 0.2.7.
The text was updated successfully, but these errors were encountered: