feat: add init scripts (#361)

This commit is contained in:
Lucas Fernandes Nogueira
2023-05-17 18:25:56 -03:00
committed by GitHub
parent d87b569643
commit 7ae7167fbe
13 changed files with 140 additions and 13 deletions
+4 -4
View File
@@ -271,8 +271,8 @@ pub(crate) async fn ask<R: Runtime>(
title,
message,
type_,
ok_button_label,
cancel_button_label,
Some(ok_button_label.unwrap_or_else(|| "Yes".into())),
Some(cancel_button_label.unwrap_or_else(|| "No".into())),
))
}
@@ -292,7 +292,7 @@ pub(crate) async fn confirm<R: Runtime>(
title,
message,
type_,
ok_button_label,
cancel_button_label,
Some(ok_button_label.unwrap_or_else(|| "Ok".into())),
Some(cancel_button_label.unwrap_or_else(|| "Cancel".into())),
))
}