use std::io::Result; use crate::configuration::Configuration; pub struct SyncUp; impl SyncUp { pub fn new() -> Self { SyncUp } } impl super::Command for SyncUp { fn before_dependencies(&self) -> Vec> { vec![] } fn execute(&self, input: Option<&String>, _: &Configuration, _: &String) -> Result<()> { println!("Sync Up: {:?}!", input); return Ok(()) } fn after_dependencies(&self) -> Vec> { vec![] } fn command(&self) -> &'static str { "sync-up" } fn help(&self) -> &'static str { "\t\t\t\tPushes to the git remote if configured" } }