pub fn sync(config: DTConfig, dry_run: bool) -> Result<()>
Syncs items specified with given DTConfig.