use std::io::Result; pub struct AddRemote; impl AddRemote { pub fn new() -> Self { AddRemote } } impl super::Command for AddRemote { fn before_dependencies(&self) -> Vec> { vec![] } fn execute(&self, input: Option<&String>) -> Result<()> { println!("Add Remote: {:?}!", input); return Ok(()) } fn after_dependencies(&self) -> Vec> { vec![] } fn command(&self) -> &'static str { "add-remote" } fn help(&self) -> &'static str { "\t\tAdds or updates a git remote to sync with" } }