There is an issue when running multiple tests at once, so the testing code may need a refactor to support async. For now, the flag --jobs 1
prevents this from happening.
6FRPUHWKBAWIYN6B6YDFQG2SFWZ6MBBYOYXFUN6DRZ4HPDSKFANQC
FOCBVLOUXYA7ZCUZA2CU3JU2QGF3ZOXW6EAVL5KZINN43GXNL7CQC
KKNMDXAIU7P44JOSAM23T4RUMLBHWGHTQQS4NXS4FIX5IN6OTXPAC
4OJWMSOWWNT5N4W4FDMKBZB5UARCLGV3SRZVKGR4EFAYFUMUHM7AC
4KJ45IJLTIE35KQZUSFMFS67RNENG4P2FZMKMULJLGGYMKJUVRSQC
EEBKW7VTILH6AGGV57ZIJ3DJGYHDSYBWGU3C7Q4WWAKSVNUGIYMQC
SXEYMYF7P4RZMZ46WPL4IZUTSQ2ATBWYZX7QNVMS3SGOYXYOHAGQC
if let Some(full_name) = self.full_name.clone() {
Interaction::new(prompt::FULL_NAME, InteractionType::Input(full_name))
// Interaction: Display name
if let Some(display_name) = self.display_name.clone() {
Interaction::new(prompt::DISPLAY_NAME, InteractionType::Input(display_name))
// Interaction: Encryption
Interaction::new(
format!(
"{} (Current status: not encrypted)",
prompt::confirm::ENCRYPTION
),
InteractionType::Confirm(self.password.is_some()),
)
.interact(&mut session)?;
if let Some(password) = self.password.clone() {
password.interact(&mut session)?;
}
Interaction::new(
format!(
"{} (Current status: not encrypted)",
prompt::confirm::ENCRYPTION
),
InteractionType::Confirm(self.password.is_some()),
)
.interact(&mut session)?;
if let Some(password) = self.password.clone() {
password.interact(&mut session)?;
Interaction::new(
prompt::confirm::SSH,
InteractionType::Confirm(self.key_path.is_some()),
)
.interact(&mut session)?;
if let Some(key_path) = self.key_path.clone() {
key_path.interact(&mut session)?;
}
"Would you like to change the default SSH key? (Current key: {})",
if let Some(path) = &self.config.key_path {
format!("{path:#?}")
} else {
String::from("none")
}
))
.default(false)
.interact()?
{
new_identity.prompt_ssh().await?;
}
if Confirm::with_theme(config.as_ref())
.with_prompt(&format!(
if Confirm::with_theme(config.as_ref())
.with_prompt(&format!(
"Do you want to change the default SSH key? (Current key: {})",
if let Some(path) = &self.config.key_path {
format!("{path:#?}")
} else {
String::from("none")
}
))
.default(false)
.interact()
.unwrap()
{
self.prompt_ssh().await?;
}