{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/6335","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/6335/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/6335/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/6335/events","html_url":"https://github.com/rust-lang/cargo/pull/6335","id":382409188,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyMTI0NTA3","number":6335,"title":"Move command prelude into main library","user":{"login":"bossmc","id":1073983,"node_id":"MDQ6VXNlcjEwNzM5ODM=","avatar_url":"https://avatars3.githubusercontent.com/u/1073983?v=4","gravatar_id":"","url":"https://api.github.com/users/bossmc","html_url":"https://github.com/bossmc","followers_url":"https://api.github.com/users/bossmc/followers","following_url":"https://api.github.com/users/bossmc/following{/other_user}","gists_url":"https://api.github.com/users/bossmc/gists{/gist_id}","starred_url":"https://api.github.com/users/bossmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bossmc/subscriptions","organizations_url":"https://api.github.com/users/bossmc/orgs","repos_url":"https://api.github.com/users/bossmc/repos","events_url":"https://api.github.com/users/bossmc/events{/privacy}","received_events_url":"https://api.github.com/users/bossmc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"alexcrichton","id":64996,"node_id":"MDQ6VXNlcjY0OTk2","avatar_url":"https://avatars1.githubusercontent.com/u/64996?v=4","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"assignees":[{"login":"alexcrichton","id":64996,"node_id":"MDQ6VXNlcjY0OTk2","avatar_url":"https://avatars1.githubusercontent.com/u/64996?v=4","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2018-11-19T21:56:43Z","updated_at":"2018-11-20T17:32:49Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/rust-lang/cargo/pulls/6335","html_url":"https://github.com/rust-lang/cargo/pull/6335","diff_url":"https://github.com/rust-lang/cargo/pull/6335.diff","patch_url":"https://github.com/rust-lang/cargo/pull/6335.patch"},"body":"When writing cargo sub-commands, it would be really useful to have access to these pre-built command line argument creates/parsers.\r\n\r\nIn a perfect world, I'd also move the contents of `src/bin/cargo/{cli.rs, main.rs, command/mod.rs}` that aren't specific to the built-in commands, but that's more complicated than this simple move of a module."},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/440361798","html_url":"https://github.com/rust-lang/cargo/pull/6335#issuecomment-440361798","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/6335","id":440361798,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDM2MTc5OA==","user":{"login":"bors","id":3372342,"node_id":"MDQ6VXNlcjMzNzIzNDI=","avatar_url":"https://avatars2.githubusercontent.com/u/3372342?v=4","gravatar_id":"","url":"https://api.github.com/users/bors","html_url":"https://github.com/bors","followers_url":"https://api.github.com/users/bors/followers","following_url":"https://api.github.com/users/bors/following{/other_user}","gists_url":"https://api.github.com/users/bors/gists{/gist_id}","starred_url":"https://api.github.com/users/bors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors/subscriptions","organizations_url":"https://api.github.com/users/bors/orgs","repos_url":"https://api.github.com/users/bors/repos","events_url":"https://api.github.com/users/bors/events{/privacy}","received_events_url":"https://api.github.com/users/bors/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T17:32:49Z","updated_at":"2018-11-20T17:32:49Z","author_association":"CONTRIBUTOR","body":":pushpin: Commit 077a31adb3922202ada72623d40c3a9e371e3df0 has been approved by `dwijnand`\n\n<!-- @bors r=dwijnand 077a31adb3922202ada72623d40c3a9e371e3df0 -->"}}
{"actor":{"display_login":"bors"}}