X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/d620665f6b2e1ae5db4c98a09e35bd63133ae87f..f6a545b00a4046879b7cc25c06c37bb6b6880b43:/src/command/publish.rs diff --git a/src/command/publish.rs b/src/command/publish.rs index d8ca949..881c987 100644 --- a/src/command/publish.rs +++ b/src/command/publish.rs @@ -1,4 +1,5 @@ use std::io::Result; +use crate::configuration::Configuration; pub struct Publish; @@ -13,7 +14,7 @@ impl super::Command for Publish { vec![] } - fn execute(&self, input: Option<&String>) -> Result<()> { + fn execute(&self, input: Option<&String>, _: &Configuration, _: &String) -> Result<()> { println!("Publish: {:?}!", input); return Ok(()) } @@ -27,6 +28,6 @@ impl super::Command for Publish { } fn help(&self) -> &'static str { - "\tPublishes the blog to a remote host." + "\t\tPublishes the blog to a remote host" } }