2 use crate::configuration::Configuration;
4 pub struct PublishArchive;
12 impl super::Command for PublishArchive {
13 fn before_dependencies(&self) -> Vec<Box<dyn super::Command>> {
17 fn execute(&self, input: Option<&String>, _: &Configuration, _: &String) -> Result<()> {
18 println!("Publish Archive: {:?}!", input);
22 fn after_dependencies(&self) -> Vec<Box<dyn super::Command>> {
26 fn command(&self) -> &'static str {
30 fn help(&self) -> &'static str {
31 "<destination>\tPublishes the archive to a remote host"