Skip to content

Commit 03dda3c

Browse files
committed
Removed cli examples duplication
1 parent 0fa5fab commit 03dda3c

File tree

1 file changed

+3
-34
lines changed

1 file changed

+3
-34
lines changed

skills/flags-sdk/SKILL.md

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -135,42 +135,11 @@ Configure which entity types are available for targeting in the Vercel Flags das
135135

136136
### `vercel flags` CLI
137137

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`).
139139

140-
| Subcommand | Description |
141-
| ----------- | ---------------------------------------------- |
142-
| `list` | List all flags in the project |
143-
| `add` | Create a new flag |
144-
| `inspect` | Show details of a specific flag |
145-
| `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`.
150141

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:
174143

175144
```bash
176145
npx skills add https://github.com/vercel/vercel --skill vercel-cli

0 commit comments

Comments
 (0)