use std::io::Result; 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>) -> 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." } }