cargo-binstall/crates/binstalk
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
tests Replace use of log with tracing (#527) 2022-11-13 21:45:37 +13:00
Cargo.toml Bump async-trait from 0.1.58 to 0.1.59 (#578) 2022-11-30 01:50:00 +00:00
LICENSE Rename lib to binstalk (#361) 2022-09-10 16:44:18 +10:00