X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/d620665f6b2e1ae5db4c98a09e35bd63133ae87f..0e276d039b8613de0cbd302bf328bb660ab063b6:/src/command/generate.rs diff --git a/src/command/generate.rs b/src/command/generate.rs index 943f2be..fac73ff 100644 --- a/src/command/generate.rs +++ b/src/command/generate.rs @@ -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" } }