{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/38404","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38404/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38404/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38404/events","html_url":"https://github.com/Homebrew/homebrew/issues/38404","id":66572997,"number":38404,"title":"Calling cleanup should display filesizes of purged formulae","user":{"login":"Alhadis","id":2346707,"avatar_url":"https://avatars.githubusercontent.com/u/2346707?v=3","gravatar_id":"","url":"https://api.github.com/users/Alhadis","html_url":"https://github.com/Alhadis","followers_url":"https://api.github.com/users/Alhadis/followers","following_url":"https://api.github.com/users/Alhadis/following{/other_user}","gists_url":"https://api.github.com/users/Alhadis/gists{/gist_id}","starred_url":"https://api.github.com/users/Alhadis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alhadis/subscriptions","organizations_url":"https://api.github.com/users/Alhadis/orgs","repos_url":"https://api.github.com/users/Alhadis/repos","events_url":"https://api.github.com/users/Alhadis/events{/privacy}","received_events_url":"https://api.github.com/users/Alhadis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-06T10:12:55Z","updated_at":"2015-04-06T18:05:28Z","closed_at":null,"body":"Just a small suggestion for a minor enhancement. =)\r\n\r\nPouring new brews will display the filesize of the installed formulae:\r\n```bash\r\n==> Upgrading imagemagick\r\n==> Downloading https://homebrew.bintray.com/bottles/imagemagick-6.9.1-0.mavericks.bottle.tar.gz\r\n######################################################################## 100.0%\r\n==> Pouring imagemagick-6.9.1-0.mavericks.bottle.tar.gz\r\n🍺  /usr/local/Cellar/imagemagick/6.9.1-0: 1442 files,  22M\r\n```\r\nSo why not do the same when invoking Homebrew's `cleanup` command? It might look like this:\r\n```bash\r\nJohns-MacBook-Pro:Desktop johngardner$ brew cleanup\r\nRemoving: /usr/local/Cellar/imagemagick/6.9.0-10... (1442 files, 22M)\r\nRemoving: /usr/local/Cellar/little-cms2/2.6... (16 files, 1.1M)\r\nRemoving: /Library/Caches/Homebrew/imagemagick-6.9.0-10.mavericks.bottle.tar.gz...\r\nRemoving: /Library/Caches/Homebrew/little-cms2-2.6.mavericks.bottle.1.tar.gz...\r\nRemoved: 1458 files, 23.1M total\r\n```\r\nMight be nice to see how much disk space was saved after a clean-up; some formulae can be pretty hefty in volume (here's looking at *you*, MongoDB)."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/90177849","html_url":"https://github.com/Homebrew/homebrew/issues/38404#issuecomment-90177849","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38404","id":90177849,"user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T18:05:28Z","updated_at":"2015-04-06T18:05:28Z","body":"I worked on an implementation this morning after seeing this and going \"Ooh, that'd be neat\". I'll submit a PR shortly with it, but if OP wants to submit his own I'll close mine out and let @Alhadis work his magic."}}