Skip to content

Commit

Permalink
feat(vscode): add remove pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
remigermain authored and kdeldycke committed Oct 27, 2024
1 parent 5239c30 commit 0a676ce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions meta_package_manager/managers/vscode.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,12 @@ def install(self, package_id: str, version: str | None = None) -> str:
β–Ί code --install-extension tamasfe.even-better-toml
"""
return self.run_cli("--install-extension", package_id)

def remove(self, package_id: str) -> str:
"""Remove one package.
.. code-block:: shell-session
β–Ί code --uninstall-extension tamasfe.even-better-toml
"""
return self.run_cli("--uninstall-extension", package_id)
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Meta Package Manager,zypper,1
| [`snap`](https://snapcraft.io) | 2.0.0 | πŸ…±οΈ | 🐧 | | `>_` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | |
| [`steamcmd`](https://developer.valvesoftware.com/wiki/SteamCMD) | None | πŸ…±οΈ | 🐧 | 🍎 | `>_` | πŸͺŸ | | | | βœ“ | | | | | |
| [`uv`](https://astral.sh) | 0.1.45 | πŸ…±οΈ | 🐧 | 🍎 | `>_` | πŸͺŸ | βœ“ | | | βœ“ | βœ“ | | βœ“ | | |
| [`vscode`](https://code.visualstudio.com) | 1.60.0 | πŸ…±οΈ | 🐧 | 🍎 | `>_` | πŸͺŸ | βœ“ | | | βœ“ | | | | | |
| [`vscode`](https://code.visualstudio.com) | 1.60.0 | πŸ…±οΈ | 🐧 | 🍎 | `>_` | πŸͺŸ | βœ“ | | | βœ“ | | | βœ“ | | |
| [`winget`](https://github.com/microsoft/winget-cli) | 1.7 | | | | | πŸͺŸ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | |
| [`yarn`](https://yarnpkg.com) | 1.20.0 | πŸ…±οΈ | 🐧 | 🍎 | `>_` | πŸͺŸ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | βœ“ |
| [`yay`](https://github.com/Jguer/yay) | 11.0.0 | πŸ…±οΈ | 🐧 | | `>_` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ |
Expand Down

0 comments on commit 0a676ce

Please sign in to comment.