]> git.r.bdr.sh - rbdr/blog/blobdiff - src/command/publish.rs
Add generator
[rbdr/blog] / src / command / publish.rs
index d6116a4d63ba1868b2cab3e8829b54e741686953..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(())
     }