mirror of
https://github.com/darkicewolf50/RustBrock.git
synced 2025-06-15 04:54:17 -06:00
finished ch14.5 and finished ch14
This commit is contained in:
parent
572d5906a6
commit
eee8170f44
@ -1 +1,8 @@
|
||||
# Extending Cargo with Custom Commnads
|
||||
The design of Cargo is such that you can extend it with new subcommands without having to modify Cargo.
|
||||
|
||||
If a binary in your `$PATH` is named `cargo-somethig`, you can run it as if it was a Cargo subcommand by running `cargo something`.
|
||||
|
||||
Custom commands like this are also listed when you run `cargo --list`
|
||||
|
||||
Using `cargo install` to install extensions and then run them just like built-in Cargo tools is a very convenient benefit of Cargo's design.
|
Loading…
x
Reference in New Issue
Block a user