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