Add cli overrides

This commit is contained in:
Lea Fairbanks 2022-05-31 17:57:05 +12:00 committed by Félix Saparelli
parent 09129a4f7f
commit 19d0616324
No known key found for this signature in database
GPG key ID: B948C4BAE44FC474
2 changed files with 29 additions and 1 deletions

View file

@ -57,6 +57,16 @@ yes
21:15:30 [INFO] Installation complete!
```
### Unsupported crates
To install an unsupported crate, you may specify the Cargo.toml metadata entries for `pkg-url`, `bin-dir`, and `pkg-fmt` at the command line, with values [as documented below](#supporting-binary-installation).
For example:
```
$ binstall \
--pkg-url="{ repo }/releases/download/{ version }/{ name }-{ version }-{ target }.{ format }" \
--pkg-fmt="txz" crate_name
```
## Status