Add --no-purge
to apify run
#373
Labels
t-tooling
Issues with this label are in the ownership of the tooling team.
--no-purge
to apify run
#373
With SDK v3 and crawlee, we now purge default storages automatically, and the purging is handled in crawlee (or better say in the storage client currently in use), so we just need to forward the right env vars and let crawlee do the job.
https://github.com/apify/crawlee/blob/master/packages/cli/src/commands/RunProjectCommand.ts#L33-L35
We should also clean up the old purging logic, it is not valid for v3 anymore, but a (rather confusing) warning can be still printed if the storage folder exists (confusing, as crawlee will wipe it automatically).
The CLI needs to keep working with new and old projects.
For easier use, we could have
--resurrect
alias for--no-purge
.The text was updated successfully, but these errors were encountered: