3 pub struct PublishArchive;
11 impl super::Command for PublishArchive {
12 fn before_dependencies(&self) -> Vec<Box<dyn super::Command>> {
16 fn execute(&self, input: Option<&String>) -> Result<()> {
17 println!("Publish Archive: {:?}!", 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 archive to a remote host"