1
0
Fork 0
mirror of https://git.sr.ht/~nixgoat/vento synced 2025-07-23 13:00:55 +00:00

Compare commits

..

No commits in common. "5a0988d2c6e93234984778771210f362ad3ace50" and "dadb0d721f5afcbfa8f2e0e1e584b15cb982b819" have entirely different histories.

3 changed files with 6 additions and 23 deletions

2
Cargo.lock generated
View file

@ -592,7 +592,7 @@ checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf"
[[package]]
name = "vento"
version = "1.1.2"
version = "1.1.1"
dependencies = [
"anyhow",
"colored",

View file

@ -1,6 +1,6 @@
[package]
name = "vento"
version = "1.1.2"
version = "1.1.1"
edition = "2021"
readme = "README.md"

View file

@ -90,19 +90,10 @@ pub fn take(file: &String, slot: &str, message: bool) -> Result<()> {
if message {
println!(
"✅ {} {} {} {} {} {} {}",
"✅ {} {} {} ",
"Took".green(),
&filename.bold(),
"from".green(),
&sourcelocation.to_str().unwrap(),
"to".green(),
match slot {
"active" => slot.green(),
"inactive" => slot.blue(),
_ => slot.red(),
}
.bold(),
"slot".green()
format!("from {}", &sourcelocation.to_str().unwrap()).green()
);
}
@ -177,18 +168,10 @@ pub fn drop(file: &String, slot: &str, dest: PathBuf, message: bool) -> Result<(
if message {
println!(
"✅ {} {} {} {} {} {}",
"✅ {} {} {} ",
"Dropped".green(),
&file.bold(),
"from".green(),
match slot {
"active" => slot.green(),
"inactive" => slot.blue(),
_ => slot.red(),
}
.bold(),
"slot into".green(),
&destpath.to_str().unwrap()
format!("into {}", &destpath.to_str().unwrap()).green()
);
};