{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/2620","repository_url":"https://api.github.com/repos/facebook/flow","labels_url":"https://api.github.com/repos/facebook/flow/issues/2620/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/2620/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/2620/events","html_url":"https://github.com/facebook/flow/issues/2620","id":182563828,"number":2620,"title":"Provide command which generates an outline for a specific file","user":{"login":"andreypopp","id":30594,"avatar_url":"https://avatars.githubusercontent.com/u/30594?v=3","gravatar_id":"","url":"https://api.github.com/users/andreypopp","html_url":"https://github.com/andreypopp","followers_url":"https://api.github.com/users/andreypopp/followers","following_url":"https://api.github.com/users/andreypopp/following{/other_user}","gists_url":"https://api.github.com/users/andreypopp/gists{/gist_id}","starred_url":"https://api.github.com/users/andreypopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreypopp/subscriptions","organizations_url":"https://api.github.com/users/andreypopp/orgs","repos_url":"https://api.github.com/users/andreypopp/repos","events_url":"https://api.github.com/users/andreypopp/events{/privacy}","received_events_url":"https://api.github.com/users/andreypopp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-12T15:55:14Z","updated_at":"2016-10-16T00:06:04Z","closed_at":"2016-10-15T23:22:36Z","body":"Merlin provides a useful outline functionality which is used an index for any specified module—a list of functions, types and so on. Editors/IDEs then can use it to quickly jump to locations of interest.\r\n\r\nI think flow could provide such functionality in a form of a command:\r\n```\r\n% flow get-outline ./src/some-module.js`\r\n```\r\nwhich returns a JSON this the following info:\r\n* functions along with locations and types\r\n* classes along with locations and types\r\n* (probably methods) of classes\r\n* other top level bindings with locations and types\r\n\r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/facebook/flow/issues/comments/254018867","html_url":"https://github.com/facebook/flow/issues/2620#issuecomment-254018867","issue_url":"https://api.github.com/repos/facebook/flow/issues/2620","id":254018867,"user":{"login":"mroch","id":3012,"avatar_url":"https://avatars.githubusercontent.com/u/3012?v=3","gravatar_id":"","url":"https://api.github.com/users/mroch","html_url":"https://github.com/mroch","followers_url":"https://api.github.com/users/mroch/followers","following_url":"https://api.github.com/users/mroch/following{/other_user}","gists_url":"https://api.github.com/users/mroch/gists{/gist_id}","starred_url":"https://api.github.com/users/mroch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mroch/subscriptions","organizations_url":"https://api.github.com/users/mroch/orgs","repos_url":"https://api.github.com/users/mroch/repos","events_url":"https://api.github.com/users/mroch/events{/privacy}","received_events_url":"https://api.github.com/users/mroch/received_events","type":"User","site_admin":false},"created_at":"2016-10-16T00:06:04Z","updated_at":"2016-10-16T00:06:04Z","body":"Nice! Is the vim plugin public?"}}
{"actor":{"display_login":"mroch"}}