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