As of now, the tool aborts with an error message if the output directory already exists.
Instead of aborting we can ask the user if it is okay to overwrite the directory and then delete the directory if the user says yes.
We can also add a --overwrite flag for the user to explicitly tell that overwriting the output directory is okay.
As of now, the tool aborts with an error message if the output directory already exists. Instead of aborting we can ask the user if it is okay to overwrite the directory and then delete the directory if the user says yes.
We can also add a --overwrite flag for the user to explicitly tell that overwriting the output directory is okay.