dependency tracking; code cleanup; removed option to discard; move to

trash rather than delete
This commit is contained in:
aaron-jack-manning
2022-08-25 16:40:56 +10:00
parent bc602c4d34
commit 170dbdcc2c
12 changed files with 287 additions and 110 deletions
+4 -2
View File
@@ -1,3 +1,5 @@
use crate::tasks::Id;
use colored::Colorize;
// Yellow
@@ -26,8 +28,8 @@ pub fn file(text : &str) -> colored::ColoredString {
}
// Blue
pub fn id(text : &str) -> colored::ColoredString {
text.truecolor(52, 152, 219)
pub fn id(id : Id) -> colored::ColoredString {
id.to_string().truecolor(52, 152, 219)
}
// Grey