cargo-binstall/crates/bin/src
pepa65 81a8218794
Yes/NO defaults to "no" when just enter is pressed (#1948)
* yes/NO in interface

* Implement No as default (when only Enter is pressed)

* Update README.md

Mark the default as [yes]

Signed-off-by: pepa65 <pepa65@passchier.net>

* Update ui.rs

Mark the default as [yes]

Signed-off-by: pepa65 <pepa65@passchier.net>

* Update ui.rs

Do not break on yes/y/YES/Y/"", break on no/n/NO/N, and keep asking otherwise

Signed-off-by: pepa65 <pepa65@passchier.net>

* Update ui.rs

After testing empty didn't work correctly

Signed-off-by: pepa65 <pepa65@passchier.net>

---------

Signed-off-by: pepa65 <pepa65@passchier.net>
2024-10-30 13:00:56 +00:00
..
args.rs allow setting no_confirm via envvar (#1921) 2024-09-22 07:06:01 +00:00
bin_util.rs feat: Impl new option --continue-on-failure (#1559) 2024-01-08 12:09:45 +00:00
entry.rs Add --maximum-resolution-timeout (#1862) 2024-08-04 02:13:18 +00:00
gh_token.rs Improve use of github token (#1769) 2024-06-15 05:42:09 +00:00
git_credentials.rs Improve use of github token (#1769) 2024-06-15 05:42:09 +00:00
install_path.rs Support --registry and more options from .cargo/config.toml (#1195) 2023-07-10 03:37:41 +00:00
lib.rs Fix GitHub token auto discovery (#1335) 2023-09-01 01:14:59 +00:00
logging.rs Investigate incorrect target detection (#1376) 2023-09-23 10:45:44 +00:00
main.rs Refactor cargo-binstall (#1302) 2023-08-18 01:59:48 +00:00
main_impl.rs Fix: --strategies on CLI do not seem to override disabled-strategies in the manifest (#1857) 2024-08-03 05:27:23 +00:00
signal.rs Refactor to reduce compilation time (#1284) 2023-08-12 14:25:41 +00:00
ui.rs Yes/NO defaults to "no" when just enter is pressed (#1948) 2024-10-30 13:00:56 +00:00