Add confirmation prompts for modifications of lots of tasks

This commit is contained in:
Dustin J. Mitchell
2021-06-07 14:57:57 -04:00
parent 31ff46bee6
commit 0de4fc1dee
7 changed files with 170 additions and 24 deletions

34
Cargo.lock generated
View File

@@ -665,6 +665,21 @@ dependencies = [
"unreachable",
]
[[package]]
name = "console"
version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3993e6445baa160675931ec041a5e03ca84b9c6e32a056150d3aa2bdda0a1f45"
dependencies = [
"encode_unicode",
"lazy_static",
"libc",
"regex",
"terminal_size",
"unicode-width",
"winapi 0.3.9",
]
[[package]]
name = "const_fn"
version = "0.4.6"
@@ -760,6 +775,18 @@ dependencies = [
"syn",
]
[[package]]
name = "dialoguer"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c9dd058f8b65922819fabb4a41e7d1964e56344042c26efbccd465202c23fa0c"
dependencies = [
"console",
"lazy_static",
"tempfile",
"zeroize",
]
[[package]]
name = "difference"
version = "2.0.0"
@@ -2972,6 +2999,7 @@ dependencies = [
"atty",
"built",
"chrono",
"dialoguer",
"dirs-next",
"env_logger 0.8.3",
"iso8601-duration",
@@ -3784,3 +3812,9 @@ dependencies = [
"markup5ever",
"time 0.1.43",
]
[[package]]
name = "zeroize"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd"