brew abv
Shows statistics about current Cellar
This commit is contained in:
parent
7b09f95664
commit
4317fee8c8
@ -84,6 +84,10 @@ case ARGV[0]
|
|||||||
end
|
end
|
||||||
puts "Created #{n} links"
|
puts "Created #{n} links"
|
||||||
|
|
||||||
|
when 'abv', 'stats', 'statistics'
|
||||||
|
cellar=$root+'Cellar'
|
||||||
|
print `find #{cellar} -type f | wc -l`.strip+' files,'+`du -hd0 #{cellar} | cut -d"\t" -f1`
|
||||||
|
|
||||||
when 'prune', 'pasteurize' then
|
when 'prune', 'pasteurize' then
|
||||||
puts "Pruned #{prune} files"
|
puts "Pruned #{prune} files"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user