mirror of
https://github.com/pcvolkmer/bzkf-rwdp-check.git
synced 2025-04-19 19:16:51 +00:00
feat: add success message
This commit is contained in:
parent
3101cdfc47
commit
560e93bcb7
11
src/main.rs
11
src/main.rs
@ -142,6 +142,17 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
items
|
||||
.iter()
|
||||
.for_each(|item| writer.serialize(item).unwrap());
|
||||
|
||||
let _ = term.write_line(
|
||||
&style(format!(
|
||||
"{} Conditions für das Jahr {} in Datei '{}' exportiert",
|
||||
items.len(),
|
||||
year,
|
||||
output
|
||||
))
|
||||
.green()
|
||||
.to_string(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user