X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/a9c6be4162bd15bd41ba3605127b56cb1eb32f32..c4b892b16fb92c7d89eaee0b1588c52c8836216b:/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, ] }