You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/flags-sdk/SKILL.md
+3-34Lines changed: 3 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,42 +135,11 @@ Configure which entity types are available for targeting in the Vercel Flags das
135
135
136
136
### `vercel flags` CLI
137
137
138
-
Manage Vercel Flags from the terminal. Requires the [Vercel CLI](https://vercel.com/docs/cli) and a linked project (`vercel link`).
138
+
You can manage Vercel Flags from the terminal with `vercel flags`. The CLI supports creating, toggling, inspecting, archiving, and deleting flags, as well as managing SDK keys. It requires the [Vercel CLI](https://vercel.com/docs/cli) and a linked project (`vercel link`).
|`enable`| Enable a boolean flag for an environment |
146
-
|`disable`| Disable a boolean flag for an environment |
147
-
|`archive`| Archive a flag (required before deleting) |
148
-
|`rm`| Delete an archived flag |
149
-
|`sdk-keys`| Manage SDK keys for the project |
140
+
Available subcommands: `list`, `add`, `inspect`, `enable`, `disable`, `archive`, `rm`, `sdk-keys`.
150
141
151
-
Common workflows:
152
-
153
-
```bash
154
-
# Create a boolean flag
155
-
vercel flags add my-feature --kind boolean --description "New onboarding flow"
156
-
157
-
# Enable it in production
158
-
vercel flags enable my-feature --environment production
159
-
160
-
# Check flag details
161
-
vercel flags inspect my-feature
162
-
163
-
# List all flags
164
-
vercel flags list
165
-
166
-
# Archive, then delete
167
-
vercel flags archive my-feature
168
-
vercel flags rm my-feature
169
-
```
170
-
171
-
`enable` and `disable` only work with boolean flags. A flag must be archived before it can be deleted.
172
-
173
-
These examples cover the most common flag operations, but the CLI supports additional commands and options not listed here. For the full `vercel flags` reference and other Vercel CLI commands, install the `vercel-cli` skill:
142
+
For detailed examples and all subcommand options, see [references/providers.md](references/providers.md#vercel-flags-cli). For the full Vercel CLI reference (beyond flags), install the `vercel-cli` skill:
0 commit comments