{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/2140","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/2140/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2140/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/2140/events","html_url":"https://github.com/rust-lang/cargo/pull/2140","id":116520512,"number":2140,"title":"Add support for custom local tasks","user":{"login":"hauleth","id":291639,"avatar_url":"https://avatars.githubusercontent.com/u/291639?v=3","gravatar_id":"","url":"https://api.github.com/users/hauleth","html_url":"https://github.com/hauleth","followers_url":"https://api.github.com/users/hauleth/followers","following_url":"https://api.github.com/users/hauleth/following{/other_user}","gists_url":"https://api.github.com/users/hauleth/gists{/gist_id}","starred_url":"https://api.github.com/users/hauleth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hauleth/subscriptions","organizations_url":"https://api.github.com/users/hauleth/orgs","repos_url":"https://api.github.com/users/hauleth/repos","events_url":"https://api.github.com/users/hauleth/events{/privacy}","received_events_url":"https://api.github.com/users/hauleth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"huonw","id":1203825,"avatar_url":"https://avatars.githubusercontent.com/u/1203825?v=3","gravatar_id":"","url":"https://api.github.com/users/huonw","html_url":"https://github.com/huonw","followers_url":"https://api.github.com/users/huonw/followers","following_url":"https://api.github.com/users/huonw/following{/other_user}","gists_url":"https://api.github.com/users/huonw/gists{/gist_id}","starred_url":"https://api.github.com/users/huonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huonw/subscriptions","organizations_url":"https://api.github.com/users/huonw/orgs","repos_url":"https://api.github.com/users/huonw/repos","events_url":"https://api.github.com/users/huonw/events{/privacy}","received_events_url":"https://api.github.com/users/huonw/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-11-12T10:25:02Z","updated_at":"2015-11-12T13:06:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/cargo/pulls/2140","html_url":"https://github.com/rust-lang/cargo/pull/2140","diff_url":"https://github.com/rust-lang/cargo/pull/2140.diff","patch_url":"https://github.com/rust-lang/cargo/pull/2140.patch"},"body":"This allows user to create custom **local** tasks for Cargo using `tasks/`\r\ndirectory. Any executable in that dir will became new cargo Command (no need for\r\nnormal `cargo-` prefix).\r\n\r\nEx.:\r\n\r\n`text/foo`:\r\n\r\n```sh\r\n#!/bin/sh\r\necho \"Foo\"\r\n```\r\n\r\n```\r\n$ cargo foo\r\nFoo\r\n```"},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/156098432","html_url":"https://github.com/rust-lang/cargo/pull/2140#issuecomment-156098432","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/2140","id":156098432,"user":{"login":"tomaka","id":1412254,"avatar_url":"https://avatars.githubusercontent.com/u/1412254?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaka","html_url":"https://github.com/tomaka","followers_url":"https://api.github.com/users/tomaka/followers","following_url":"https://api.github.com/users/tomaka/following{/other_user}","gists_url":"https://api.github.com/users/tomaka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaka/subscriptions","organizations_url":"https://api.github.com/users/tomaka/orgs","repos_url":"https://api.github.com/users/tomaka/repos","events_url":"https://api.github.com/users/tomaka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaka/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T13:06:39Z","updated_at":"2015-11-12T13:06:39Z","body":"I don't really the advantage of writing `cargo foo` in your shell instead of `./tasks/foo`."}}