use std::io::Result; pub struct Generate; impl Generate { pub fn new() -> Self { Generate } } impl super::Command for Generate { fn before_dependencies(&self) -> Vec> { vec![] } fn execute(&self, input: Option<&String>) -> Result<()> { println!("GENERATE! {:?}", input); return Ok(()) } fn after_dependencies(&self) -> Vec> { vec![] } fn command(&self) -> &'static str { "generate" } fn help(&self) -> &'static str { "\t\t\tGenerates the blog assets" } }