{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/4","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/4/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/4/events","html_url":"https://github.com/rust-lang/cargo/issues/4","id":29791813,"number":4,"title":"cargo add <package>","user":{"login":"shadowmint","id":355760,"avatar_url":"https://avatars.githubusercontent.com/u/355760?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowmint","html_url":"https://github.com/shadowmint","followers_url":"https://api.github.com/users/shadowmint/followers","following_url":"https://api.github.com/users/shadowmint/following{/other_user}","gists_url":"https://api.github.com/users/shadowmint/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowmint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowmint/subscriptions","organizations_url":"https://api.github.com/users/shadowmint/orgs","repos_url":"https://api.github.com/users/shadowmint/repos","events_url":"https://api.github.com/users/shadowmint/events{/privacy}","received_events_url":"https://api.github.com/users/shadowmint/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/cargo/labels/A-new-subcommand","name":"A-new-subcommand","color":"fbca04"},{"url":"https://api.github.com/repos/rust-lang/cargo/labels/planned","name":"planned","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-03-20T03:36:49Z","updated_at":"2015-06-30T08:27:44Z","closed_at":null,"body":"This is probably a no brainer, but I thought I'd drop it in here as a yes-please feature request.\r\n\r\nI just discovered that with bower and npm if you install a package into a local directory scope (eg. bower install moment) with a particular flag (in this case bower install moment -S) it not only installs the moment recent version of the package into the local folder; it updates the manifest file automatically:\r\n\r\n    {\r\n      \"name\": \"configtool\",\r\n      \"version\": \"0.1.0\",\r\n      \"dependencies\": {\r\n        \"underscore\": \"1.5.2\",\r\n        \"angular\": \"1.2.3\",\r\n        \"angular-resource\": \"1.2.3\",\r\n        \"angular-sanitize\": \"~1.2.3\",\r\n        \"momentjs\": \"~2.5.1\" // <---- This gets automatically added \r\n      }\r\n    }\r\n\r\nThis is a really lovely workflow to use, I thought I'd drop it in here as a feature request."},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/117053351","html_url":"https://github.com/rust-lang/cargo/issues/4#issuecomment-117053351","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/4","id":117053351,"user":{"login":"killercup","id":20063,"avatar_url":"https://avatars.githubusercontent.com/u/20063?v=3","gravatar_id":"","url":"https://api.github.com/users/killercup","html_url":"https://github.com/killercup","followers_url":"https://api.github.com/users/killercup/followers","following_url":"https://api.github.com/users/killercup/following{/other_user}","gists_url":"https://api.github.com/users/killercup/gists{/gist_id}","starred_url":"https://api.github.com/users/killercup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killercup/subscriptions","organizations_url":"https://api.github.com/users/killercup/orgs","repos_url":"https://api.github.com/users/killercup/repos","events_url":"https://api.github.com/users/killercup/events{/privacy}","received_events_url":"https://api.github.com/users/killercup/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T08:27:44Z","updated_at":"2015-06-30T08:27:44Z","body":"There has been some work on this [here](https://github.com/withoutboats/cargo-add) and [here](https://github.com/killercup/cargo-edit)."}}