cg_installed
Upgrades or uninstalls already installed widgets in a project. Specify the widget directory and optionally a version for upgrade.
Instructions
Mutate widgets already installed in the current project. Use this for installed copies only; use cg_registry install for adding a new widget. Actions: upgrade requires widget_dir and optionally version; uninstall requires widget_dir. Pass the widget directory path (e.g. cg/backend-retry-python).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Installed-widget action to perform. | |
| widget_dir | No | The local widget directory path (e.g. cg/backend-retry-python). | |
| version | No | Target version for upgrade. |