{"action":"created","issue":{"url":"https://api.github.com/repos/operable/cog/issues/337","repository_url":"https://api.github.com/repos/operable/cog","labels_url":"https://api.github.com/repos/operable/cog/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/operable/cog/issues/337/comments","events_url":"https://api.github.com/repos/operable/cog/issues/337/events","html_url":"https://github.com/operable/cog/pull/337","id":138494298,"number":337,"title":"Which","user":{"login":"mpeck","id":47858,"avatar_url":"https://avatars.githubusercontent.com/u/47858?v=3","gravatar_id":"","url":"https://api.github.com/users/mpeck","html_url":"https://github.com/mpeck","followers_url":"https://api.github.com/users/mpeck/followers","following_url":"https://api.github.com/users/mpeck/following{/other_user}","gists_url":"https://api.github.com/users/mpeck/gists{/gist_id}","starred_url":"https://api.github.com/users/mpeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpeck/subscriptions","organizations_url":"https://api.github.com/users/mpeck/orgs","repos_url":"https://api.github.com/users/mpeck/repos","events_url":"https://api.github.com/users/mpeck/events{/privacy}","received_events_url":"https://api.github.com/users/mpeck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-04T14:54:34Z","updated_at":"2016-03-04T15:30:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/operable/cog/pulls/337","html_url":"https://github.com/operable/cog/pull/337","diff_url":"https://github.com/operable/cog/pull/337.diff","patch_url":"https://github.com/operable/cog/pull/337.patch"},"body":"This implements a top level which command. Passing a string that resolves to a command will return `command - <bundle>:<command name>`. An alias will return `alias - <user | site>:<alias name> -> \"command string\"`. Aliases take precedence over commands. So if an alias shadows a command the alias will be returned instead of the command. I'm not sure what the planned precedence will be in the new executor, so we may need to swap this.\r\n\r\nresolves #334"},"comment":{"url":"https://api.github.com/repos/operable/cog/issues/comments/192324344","html_url":"https://github.com/operable/cog/pull/337#issuecomment-192324344","issue_url":"https://api.github.com/repos/operable/cog/issues/337","id":192324344,"user":{"login":"christophermaier","id":207178,"avatar_url":"https://avatars.githubusercontent.com/u/207178?v=3","gravatar_id":"","url":"https://api.github.com/users/christophermaier","html_url":"https://github.com/christophermaier","followers_url":"https://api.github.com/users/christophermaier/followers","following_url":"https://api.github.com/users/christophermaier/following{/other_user}","gists_url":"https://api.github.com/users/christophermaier/gists{/gist_id}","starred_url":"https://api.github.com/users/christophermaier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophermaier/subscriptions","organizations_url":"https://api.github.com/users/christophermaier/orgs","repos_url":"https://api.github.com/users/christophermaier/repos","events_url":"https://api.github.com/users/christophermaier/events{/privacy}","received_events_url":"https://api.github.com/users/christophermaier/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T15:30:49Z","updated_at":"2016-03-04T15:30:49Z","body":"@mpeck Indeed; :shipit: "}}