use std::io::Result;
+use crate::configuration::Configuration;
pub struct Publish;
vec![]
}
- fn execute(&self, input: Option<&String>) -> Result<()> {
+ fn execute(&self, input: Option<&String>, _: &Configuration, _: &String) -> Result<()> {
println!("Publish: {:?}!", input);
return Ok(())
}
}
fn help(&self) -> &'static str {
- "<destination>\tPublishes the blog to a remote host."
+ "<destination>\t\tPublishes the blog to a remote host"
}
}