X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/a9c6be4162bd15bd41ba3605127b56cb1eb32f32..b6798535a5796433d2fe13025b1750dd5353fd01:/src/command/status/mod.rs diff --git a/src/command/status/mod.rs b/src/command/status/mod.rs index e8754f5..e620f78 100644 --- a/src/command/status/mod.rs +++ b/src/command/status/mod.rs @@ -1,4 +1,5 @@ mod configuration_status; +mod blog_status; use std::io::Result; use crate::configuration::Configuration; @@ -19,7 +20,7 @@ impl super::Command for Status { fn execute(&self, _: Option<&String>, configuration: &Configuration, _: &String) -> Result<()> { let status_providers = available_status_providers(); for status_provider in status_providers { - println!("{}", status_provider(configuration)); + println!("{}\n----\n", status_provider(configuration)); } return Ok(()) } @@ -40,5 +41,6 @@ impl super::Command for Status { fn available_status_providers() -> Vec String> { vec![ configuration_status::status, + blog_status::status, ] }