]> git.r.bdr.sh - rbdr/blog/blobdiff - src/command/generate.rs
Add part of the implementation for add
[rbdr/blog] / src / command / generate.rs
index 943f2be75b90e6ea141e735b1cc3e126729f0436..fac73ff37de30f57234eadde8118755e2fc8031c 100644 (file)
@@ -1,4 +1,5 @@
 use std::io::Result;
+use crate::configuration::Configuration;
 
 pub struct Generate;
 
@@ -13,7 +14,7 @@ impl super::Command for Generate {
         vec![]
     }
 
-    fn execute(&self, input: Option<&String>) -> Result<()> {
+    fn execute(&self, input: Option<&String>, _: &Configuration, _: &String) -> Result<()> {
         println!("GENERATE! {:?}", input);
         return Ok(())
     }
@@ -27,6 +28,6 @@ impl super::Command for Generate {
     }
 
     fn help(&self) -> &'static str {
-        "\t\t\tGenerates the blog assets"
+        "\t\t\t\tGenerates the blog assets"
     }
 }