11 impl super::Command for Publish {
12 fn before_dependencies(&self) -> Vec<Box<dyn super::Command>> {
16 fn execute(&self, input: Option<&String>) -> Result<()> {
17 println!("Publish: {:?}!", input);
21 fn after_dependencies(&self) -> Vec<Box<dyn super::Command>> {
25 fn command(&self) -> &'static str {
29 fn help(&self) -> &'static str {
30 "<destination>\tPublishes the blog to a remote host."