Ellen Marie Dash
2d978309a2
[commands/cache] Minor clean-up.
...
- Consistently use singular 'cache' (not plural 'caches').
- Remove unnecessary uses of the word 'currently'.
- Use 'file(s)' instead of 'files', to account for case of only one file.
- Use .format() when appropriate.
- Minor cleanup of `pip cache`-related files in docs/.
2020-04-01 16:54:42 -04:00
Ellen Marie Dash
554133a90e
[commands/cache] Add file size information.
2020-04-01 16:54:42 -04:00
Ellen Marie Dash
61a0adcfe7
[commands/cache] Add missing type annotation.
2020-04-01 16:54:04 -04:00
Ellen Marie Dash
61dd0bc16c
[commands/cache] Use location of wheel cache dir specifically.
2020-04-01 16:54:04 -04:00
Ellen Marie Dash
c838a67178
[commands/cache] Change pattern suffix from -*.whl to *.whl.
2020-04-01 16:54:04 -04:00
Ellen Marie Dash
9563dfb526
[commands/cache] Refactor get_cache_info().
2020-04-01 16:54:03 -04:00
Ellen Marie Dash
50604be6c4
[commands/cache] Raise errors if wrong number of args.
...
Also add tests for purge_cache, since I apparently forgot those before.
2020-04-01 16:54:03 -04:00
Ellen Marie Dash
8ae71adbea
[commands/cache] Add docs for 'pip cache' command.
2020-04-01 16:54:03 -04:00
Ellen Marie Dash
c59ced6942
[commands/cache] More refactoring of cache command
2020-04-01 16:54:03 -04:00
Ellen Marie Dash
b9b29b8c10
[commands/cache] fix 'pip cache info'; don't hide python/abi/platform tags.
2020-04-01 16:54:03 -04:00
Ellen Marie Dash
b0e7b66326
[commands/cache] Refactor + fix linting failures.
2020-04-01 16:54:03 -04:00
Ellen Marie Dash
04c0b0e6eb
Add 'pip cache' command.
2020-04-01 16:54:03 -04:00