]> git.r.bdr.sh - rbdr/blog/blobdiff - src/command/publish_archive.rs
Add part of the implementation for add
[rbdr/blog] / src / command / publish_archive.rs
index 4275c3887dc077308aafe9c6cbdfb171e57d3bea..f5f114aec14dfd949ec57d1e7b81ec247f2bab27 100644 (file)
@@ -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 {
-        "<destination>\tPublishes the archive to a remote host."
+        "<destination>\tPublishes the archive to a remote host"
     }
 }