archive: Fixed slot colors

In the confirmation message the slot being exported showed as white. It
should now be colored in either green, blue or red.
This commit is contained in:
Lux Aliaga 2023-02-17 12:44:18 -03:00
parent b6162a9dcb
commit faf8036b19
Signed by: lux
GPG Key ID: B56C805968637437
1 changed files with 3 additions and 3 deletions

View File

@ -40,9 +40,9 @@ pub fn export_inv(slot: &str, output: PathBuf, message: bool) -> Result<()> {
"✅ {} {} {} {}",
"Exported".green(),
match slot {
"a" => "active",
"i" => "inactive",
_ => &slot,
"a" | "active" => "active".green(),
"i" | "inactive" => "inactive".blue(),
_ => slot.red(),
}
.bold(),
"slot into".green(),