serverless-python-requirements
serverless-python-requirements copied to clipboard
Debug and document clearing cache
Is there an existing issue for this?
- [X] I have searched existing issues, it hasn't been reported yet
Use case description
I had to clean libraries cache to fix "Cannot unpack zip" error. There is a cleanCache option, but it is currently undocumented. Additionally, it does not print where cache is cleaned without --debug option, and additionally it does not clean all .zip files from cache, I had to do this manually.
Proposed solution (optional)
- Add
sls requirements cleanCacheto docs - Include information about
--debugflag to see cache location - Fix
cleanCacheto remove everything in the cache