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