1 use crate::configuration::Configuration;
2 use crate::remote::sync_down;
13 impl super::Command for SyncDown {
14 fn before_dependencies(&self) -> Vec<Box<dyn super::Command>> {
21 configuration: &Configuration,
24 match sync_down(&configuration.data_directory, &configuration.remote_config) {
27 if command == self.command() {
35 fn after_dependencies(&self) -> Vec<Box<dyn super::Command>> {
39 fn command(&self) -> &'static str {
43 fn help(&self) -> &'static str {
44 "\t\t\t\tPulls from the git remote if configured"