1 mod configuration_status;
13 impl super::Command for Status {
14 fn before_dependencies(&self) -> Vec<Box<dyn super::Command>> {
18 fn execute(&self, _: Option<&String>) -> Result<()> {
19 let status_providers = available_status_providers();
20 for status_provider in status_providers {
21 println!("{}", status_provider());
26 fn after_dependencies(&self) -> Vec<Box<dyn super::Command>> {
30 fn command(&self) -> &'static str {
34 fn help(&self) -> &'static str {
35 "\t\t\t\tPrints the status of your blog"
39 fn available_status_providers() -> Vec<fn() -> String> {
41 configuration_status::status,