X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/d620665f6b2e1ae5db4c98a09e35bd63133ae87f..2998247083406f914b3647cedd19abf5507bf2c6:/src/command/publish.rs?ds=sidebyside 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" } }