{"action":"created","issue":{"url":"https://api.github.com/repos/rustwasm/twiggy/issues/88","repository_url":"https://api.github.com/repos/rustwasm/twiggy","labels_url":"https://api.github.com/repos/rustwasm/twiggy/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/rustwasm/twiggy/issues/88/comments","events_url":"https://api.github.com/repos/rustwasm/twiggy/issues/88/events","html_url":"https://github.com/rustwasm/twiggy/issues/88","id":342305292,"node_id":"MDU6SXNzdWUzNDIzMDUyOTI=","number":88,"title":"Add summaries to other sub-commands","user":{"login":"data-pup","id":16364986,"node_id":"MDQ6VXNlcjE2MzY0OTg2","avatar_url":"https://avatars1.githubusercontent.com/u/16364986?v=4","gravatar_id":"","url":"https://api.github.com/users/data-pup","html_url":"https://github.com/data-pup","followers_url":"https://api.github.com/users/data-pup/followers","following_url":"https://api.github.com/users/data-pup/following{/other_user}","gists_url":"https://api.github.com/users/data-pup/gists{/gist_id}","starred_url":"https://api.github.com/users/data-pup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/data-pup/subscriptions","organizations_url":"https://api.github.com/users/data-pup/orgs","repos_url":"https://api.github.com/users/data-pup/repos","events_url":"https://api.github.com/users/data-pup/events{/privacy}","received_events_url":"https://api.github.com/users/data-pup/received_events","type":"User","site_admin":false},"labels":[{"id":832857778,"node_id":"MDU6TGFiZWw4MzI4NTc3Nzg=","url":"https://api.github.com/repos/rustwasm/twiggy/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":832857787,"node_id":"MDU6TGFiZWw4MzI4NTc3ODc=","url":"https://api.github.com/repos/rustwasm/twiggy/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-18T12:23:29Z","updated_at":"2018-07-18T14:53:06Z","closed_at":null,"author_association":"MEMBER","body":"#84 added a summary to the output of the 'garbage' sub-command, which looks like this:\r\n\r\n```\r\n Bytes │ Size % │ Garbage Item\r\n───────┼────────┼──────────────────────\r\n    11 ┊  5.58% ┊ unusedAddThreeNumbers\r\n     8 ┊  4.06% ┊ unusedAddOne\r\n   ... ┊    ... ┊ ... and 7 more\r\n    43 ┊ 21.83% ┊ Σ\r\n```\r\n\r\nI think this is a *really* fantastic idea. Should we add a similar feature to other sub-commands as well? I think the 'top' and 'diff' would be a good start, although I am less sure about the others.\r\n\r\nIt could be neat to do something similar for the paths command, like this:\r\n\r\n```\r\n               Shallow Bytes │ Shallow %          │ Retaining Paths\r\n───────────────┼───────────┼────────────────────────────\r\n            44 ┊    30.56% ┊ \"function names\" subsection\r\n             7 ┊     4.86% ┊ export \"awoo\"\r\n               ┊           ┊   ↳ func[4]\r\n               ┊           ┊       ↳ type[0]\r\n               ┊           ┊       ↳ awoo\r\n               ┊           ┊            ↳ ... and 6 more\r\n ```\r\n\r\n(That's imagining what [this file](https://github.com/rustwasm/twiggy/blob/master/twiggy/tests/expectations/paths_test_default_output_desc_with_depth) might look like)"},"comment":{"url":"https://api.github.com/repos/rustwasm/twiggy/issues/comments/405959743","html_url":"https://github.com/rustwasm/twiggy/issues/88#issuecomment-405959743","issue_url":"https://api.github.com/repos/rustwasm/twiggy/issues/88","id":405959743,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTk1OTc0Mw==","user":{"login":"fitzgen","id":74571,"node_id":"MDQ6VXNlcjc0NTcx","avatar_url":"https://avatars2.githubusercontent.com/u/74571?v=4","gravatar_id":"","url":"https://api.github.com/users/fitzgen","html_url":"https://github.com/fitzgen","followers_url":"https://api.github.com/users/fitzgen/followers","following_url":"https://api.github.com/users/fitzgen/following{/other_user}","gists_url":"https://api.github.com/users/fitzgen/gists{/gist_id}","starred_url":"https://api.github.com/users/fitzgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fitzgen/subscriptions","organizations_url":"https://api.github.com/users/fitzgen/orgs","repos_url":"https://api.github.com/users/fitzgen/repos","events_url":"https://api.github.com/users/fitzgen/events{/privacy}","received_events_url":"https://api.github.com/users/fitzgen/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T14:53:06Z","updated_at":"2018-07-18T14:53:06Z","author_association":"MEMBER","body":"Sounds great to me."}}
{"actor":{"display_login":"fitzgen"}}