File tree Expand file tree Collapse file tree
packages/divbase-cli/src/divbase_cli/cli_commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -278,10 +278,16 @@ def download_all_files(
278278 Before the download proceeds you'll be prompted if you want to continue.
279279 DivBase Query results files will not be included in the download.
280280
281- TODO - can you combine resume and disable checksums? I think no?
282-
283281 You can resume ('--resume' / '-r') a 'download-all' command, just make sure you're downloading into the same directory.
284282 """
283+ if resume and disable_verify_checksums :
284+ print (
285+ "The --resume and --disable-verify-checksums options cannot be used together, "
286+ "as checksums are used to determine which files don't need to be downloaded. \n "
287+ "Exiting... "
288+ )
289+ return
290+
285291 project_config = resolve_project (project_name = project )
286292 logged_in_url = ensure_logged_in (desired_url = project_config .divbase_url )
287293 download_dir_path = resolve_download_dir (download_dir = download_dir )
You can’t perform that action at this time.
0 commit comments