cargo-binstall/crates
Jiahao XU a69db83aa6
Fix error reporting in main and move all arg validation into fn args::parse (#585)
* Fix reporting parsing error from `args::parse`
   Report it in `args::parse` by using `Args::command().error(...).exit()`
   instead of returning `BinstallError`.
* Rm unused variant `BinstallError::OverrideOptionUsedWithMultiInstall`
* Refactor: Move `strategies` validation into `args::parse`
* Rm unused variant `BinstallError::InvalidStrategies`
* Add new unit test `args::test::verify_cli`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-12-03 11:57:50 +00:00
..
bin Fix error reporting in main and move all arg validation into fn args::parse (#585) 2022-12-03 11:57:50 +00:00
binstalk Fix error reporting in main and move all arg validation into fn args::parse (#585) 2022-12-03 11:57:50 +00:00
binstalk-downloader Optimize use of tokio::select!: Use biased selection (#580) 2022-11-30 16:05:52 +13:00
binstalk-manifests Bump serde from 1.0.147 to 1.0.148 (#572) 2022-11-29 13:39:33 +11:00
binstalk-types Bump serde from 1.0.147 to 1.0.148 (#572) 2022-11-29 13:39:33 +11:00
detect-targets release: detect-targets v0.1.3 (#555) 2022-11-22 08:31:43 +00:00
detect-wasi release: detect-wasi v1.0.0 (#332) 2022-09-04 13:45:28 +00:00
fs-lock release: fs-lock v0.1.0 (#339) 2022-09-04 16:04:52 +00:00
normalize-path release: normalize-path v0.2.0 (#509) 2022-11-04 17:30:21 +11:00