{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/691","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/691/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/691/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/691/events","html_url":"https://github.com/Microsoft/vscode/issues/691","id":118988666,"number":691,"title":"Support to install and uninstall extensions from cli","user":{"login":"joaomoreno","id":22350,"avatar_url":"https://avatars.githubusercontent.com/u/22350?v=3","gravatar_id":"","url":"https://api.github.com/users/joaomoreno","html_url":"https://github.com/joaomoreno","followers_url":"https://api.github.com/users/joaomoreno/followers","following_url":"https://api.github.com/users/joaomoreno/following{/other_user}","gists_url":"https://api.github.com/users/joaomoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/joaomoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaomoreno/subscriptions","organizations_url":"https://api.github.com/users/joaomoreno/orgs","repos_url":"https://api.github.com/users/joaomoreno/repos","events_url":"https://api.github.com/users/joaomoreno/events{/privacy}","received_events_url":"https://api.github.com/users/joaomoreno/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/feature-request","name":"feature-request","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/8","html_url":"https://github.com/Microsoft/vscode/milestones/Backlog","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/8/labels","id":1412124,"number":8,"title":"Backlog","description":"Work not yet planned for a specific release.","creator":{"login":"chrisdias","id":1487073,"avatar_url":"https://avatars.githubusercontent.com/u/1487073?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdias","html_url":"https://github.com/chrisdias","followers_url":"https://api.github.com/users/chrisdias/followers","following_url":"https://api.github.com/users/chrisdias/following{/other_user}","gists_url":"https://api.github.com/users/chrisdias/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdias/subscriptions","organizations_url":"https://api.github.com/users/chrisdias/orgs","repos_url":"https://api.github.com/users/chrisdias/repos","events_url":"https://api.github.com/users/chrisdias/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdias/received_events","type":"User","site_admin":false},"open_issues":800,"closed_issues":391,"state":"open","created_at":"2015-11-15T10:30:19Z","updated_at":"2016-04-05T18:56:09Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-11-26T07:26:40Z","updated_at":"2016-04-05T19:22:53Z","closed_at":null,"body":"_From @Tyriar on November 26, 2015 2:1_\n\nSimilar to [`apm`](https://github.com/atom/apm)'s `install` and `uninstall` commands, it would be great to have an official way of installing and uninstalling extensions via the command line in a platform independent way.\r\n\r\nThis would enable a nicer way of maintaining a consistent development environment across multiple PCs/platforms without resorting to symlinking the extensions to cloud storage (see https://github.com/Microsoft/vscode/issues/679).\n\n_Copied from original issue: Microsoft/vscode-vsce#48_"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/205956914","html_url":"https://github.com/Microsoft/vscode/issues/691#issuecomment-205956914","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/691","id":205956914,"user":{"login":"Tyriar","id":2193314,"avatar_url":"https://avatars.githubusercontent.com/u/2193314?v=3","gravatar_id":"","url":"https://api.github.com/users/Tyriar","html_url":"https://github.com/Tyriar","followers_url":"https://api.github.com/users/Tyriar/followers","following_url":"https://api.github.com/users/Tyriar/following{/other_user}","gists_url":"https://api.github.com/users/Tyriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyriar/subscriptions","organizations_url":"https://api.github.com/users/Tyriar/orgs","repos_url":"https://api.github.com/users/Tyriar/repos","events_url":"https://api.github.com/users/Tyriar/events{/privacy}","received_events_url":"https://api.github.com/users/Tyriar/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T19:22:53Z","updated_at":"2016-04-05T19:22:53Z","body":"I propose the following args:\r\n\r\n```\r\n# Install\r\ncode --install-ext=ms-vscode.csharp\r\ncode -i ms-vscode.csharp\r\n\r\n# Uninstall\r\ncode --uninstall-ext=ms-vscode.csharp\r\ncode -u ms-vscode.csharp\r\n\r\n# List installed extensions\r\ncode --list-ext\r\n```\r\n\r\nWith the `--list-ext` arg returning a flat list of extension aliases:\r\n\r\n```\r\n$ code --list-ext\r\ndonjayamanne.python\r\nlukehoban.Go\r\nms-vscode.csharp\r\n```"}}