cargo-binstall/crates/bin
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
..
src Fix error reporting in main and move all arg validation into fn args::parse (#585) 2022-12-03 11:57:50 +00:00
build.rs Fix crates/bin/build.rs: Rerun build.rs if manifest.rc and windows.manifest changed (#575) 2022-11-29 18:31:59 +13:00
Cargo.toml Bump clap from 4.0.27 to 4.0.29 (#577) 2022-11-30 01:35:11 +00:00
LICENSE Split crates and clean up structure of codebase (#294) 2022-08-20 11:24:12 +00:00
manifest.rc Split crates and clean up structure of codebase (#294) 2022-08-20 11:24:12 +00:00
release.toml Fix release PR template (#336) 2022-09-04 15:19:17 +00:00
windows.manifest release: cargo-binstall v0.17.0 (#562) 2022-11-23 01:18:44 +11:00