It probably makes sense to use Click to mandate exists=False for both directories and files here, in order to avoid deleting sensitive stuff where possible. That should be good enough; there are going to be annoying race conditions (e.g. someone creates a file after we check for its existence but before we'd write stuff out), but at that point I think we can say that this sort of "data loss" is not our problem.
Takes as input an output directory and [currently] overwrites stuff in there without asking
align
call
smooth apply -- update now this doesn't overwrite, and instead complains
Takes as input direct filename(s) and [currently] overwrites if they already exist
We should probably try to keep this consistent.
It probably makes sense to use Click to mandate
exists=False
for both directories and files here, in order to avoid deleting sensitive stuff where possible. That should be good enough; there are going to be annoying race conditions (e.g. someone creates a file after we check for its existence but before we'd write stuff out), but at that point I think we can say that this sort of "data loss" is not our problem.Takes as input an output directory and [currently] overwrites stuff in there without asking
Takes as input direct filename(s) and [currently] overwrites if they already exist