This PR adds support for downloading password-protected transfers. If -p is in use, the WETRANSFER_PASSWORD environment variable is checked for the password and if it hasn't been found there the user is prompted. The tests are passing with this new code. Unfortunately, I don't have a paid subscription, so was unable to upload a password-protected test file and add the relevant test case.
This PR adds support for downloading password-protected transfers. If
-p
is in use, theWETRANSFER_PASSWORD
environment variable is checked for the password and if it hasn't been found there the user is prompted. The tests are passing with this new code. Unfortunately, I don't have a paid subscription, so was unable to upload a password-protected test file and add the relevant test case.