Skip to content

Commit cf51ab8

Browse files
committed
use a fork of inquire to fix #32
1 parent 9999d0e commit cf51ab8

File tree

3 files changed

+12
-18
lines changed

3 files changed

+12
-18
lines changed

Cargo.lock

Lines changed: 10 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ directories = "6.0"
2020
colored = "3.0"
2121
dotenvy = "0.15"
2222
serde-envfile = "0.3"
23-
inquire = "0.9"
23+
inquire = { git = "https://github.com/domenkozar/inquire", branch = "password-multi-line" }
2424
miette = { version = "7.6", features = ["fancy"] }
2525
serde_json = "1.0"
2626
tempfile = "3.0"

secretspec/src/secrets.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -743,12 +743,7 @@ impl Secrets {
743743
{
744744
let prompt_msg =
745745
format!("[{}/{}] Enter value for {}:", i + 1, total, secret_name,);
746-
let mut prompt =
747-
inquire::Password::new(&prompt_msg).without_confirmation();
748-
749-
if let Some(ref desc) = secret_config.description {
750-
prompt = prompt.with_help_message(desc);
751-
}
746+
let prompt = inquire::Password::new(&prompt_msg).without_confirmation();
752747

753748
let value = prompt.prompt()?;
754749

0 commit comments

Comments
 (0)