October 2019
Intermediate to advanced
444 pages
10h 37m
English
cargo picks up any executable starting with cargo- that's available in the PATH environment variable. Directories listed in there are used to discover command-line executables in *nix systems.
For cargo to integrate these extensions seamlessly, their names have to meet a few conditions:
On Linux/macOS, these executables can also be shell scripts—something that's very useful for improving the developer workflow. However, these scripts have to look just like a binary and therefore have no file ending. Then, instead of running several commands, such as cargo publish, git tag, and git ...
Read now
Unlock full access