mirror of https://github.com/pypa/pip
[commands/cache] Reformat output of `pip cache info`
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
This commit is contained in:
parent
63ba6cce4a
commit
ed9f885bd7
|
@ -78,10 +78,9 @@ class CacheCommand(Command):
|
|||
cache_size = filesystem.format_directory_size(cache_location)
|
||||
|
||||
message = textwrap.dedent("""
|
||||
Cache info:
|
||||
Location: {location}
|
||||
Packages: {package_count}
|
||||
Size: {size}
|
||||
Location: {location}
|
||||
Size: {size}
|
||||
Number of wheels: {package_count}
|
||||
""").format(
|
||||
location=cache_location,
|
||||
package_count=num_packages,
|
||||
|
|
Loading…
Reference in New Issue