💫 Toolkit to help you get started with SDD or any other process!
Docs: document missing flags --force and --refresh-shared-infra (#3179)
Dyan Galih916e29b27bc3
diff --git a/docs/reference/extensions.md b/docs/reference/extensions.mdindex 923d0b9b8..90e5ab874 100644--- a/docs/reference/extensions.md+++ b/docs/reference/extensions.md@@ -26,6 +26,7 @@ specify extension add <name>| --------------- | -------------------------------------------------------- || `--dev` | Install from a local directory (for development) || `--from <url>` | Install from a custom URL instead of the catalog |+| `--force` | Overwrite if already installed || `--priority <N>`| Resolution priority (default: 10; lower = higher precedence) |Installs an extension from the catalog, a URL, or a local directory. Extension commands are automatically registered with the currently installed AI coding agent integration.diff --git a/docs/reference/integrations.md b/docs/reference/integrations.mdindex 574638216..c52ea719f 100644--- a/docs/reference/integrations.md+++ b/docs/reference/integrations.md@@ -100,6 +100,7 @@ specify integration switch <key>| ------------------------ | ------------------------------------------------------------------------ || `--script sh\|ps` | Script type: `sh` (bash/zsh) or `ps` (PowerShell) || `--force` | Force removal of modified files during uninstall; when the target is already installed, overwrite managed shared templates while changing the default |+| `--refresh-shared-infra` | Also overwrite shared infrastructure files even if you customized them (otherwise customizations are preserved) || `--integration-options` | Options for the target integration when it is not already installed |If the target integration is not already installed, equivalent to running `uninstall` followed by `install` in a single step. In this mode, `--force` controls whether modified files from the removed integration are deleted. If the target integration is already installed, `switch` only changes the default integration, like `use`; in this mode, `--force` controls whether managed shared templates are overwritten while the default changes. `--integration-options` is rejected for already-installed targets because changing integration options requires reinstalling managed files; run `upgrade <key> --integration-options ...` first, then `use <key>`.