Skip to content

Commit 2c061eb

Browse files
mishushakovclaude
andauthored
chore(cli): migrate dashboard links to project-era tab entrypoints (#1605)
## Summary Following the dashboard's teams→projects rename (e2b-dev/dashboard#521), this PR points the `--project` flag help at the dashboard's `?tab=general` entrypoint (General settings, where the project ID lives) instead of the old `?tab=team`, and adds a `@e2b/cli` patch changeset. It also rewrites the CLI README's headless-auth note to use `E2B_API_KEY` (the supported browserless path) instead of `E2B_ACCESS_TOKEN`, pointing at the dashboard's API Keys tab, and drops the now-redundant `E2B_ACCESS_TOKEN` vs `E2B_API_KEY` callout. The SDKs' `?tab=keys` and the CLI's `?tab=personal` links stay unchanged — those tabs remain valid entrypoints. ## Example ``` $ e2b template create --help -t, --project <project-id> specify the project ID that the operation will be associated with. You can find project ID in the project settings in the E2B dashboard (https://e2b.dev/dashboard?tab=general). ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent ee0ad25 commit 2c061eb

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@e2b/cli': patch
3+
---
4+
5+
Point the `--project` flag help at the dashboard's `?tab=general` entrypoint (was `?tab=team`)

packages/cli/README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,10 @@ e2b auth login
3131
```
3232

3333
> [!NOTE]
34-
> To authenticate without the ability to open the browser, provide
35-
> `E2B_ACCESS_TOKEN` as an environment variable. You can find your token
36-
> in Account Settings under the Team selector at [e2b.dev/dashboard](https://e2b.dev/dashboard). Then use the CLI like this:
37-
> `E2B_ACCESS_TOKEN=sk_e2b_... e2b template create`.
38-
39-
> [!IMPORTANT]
40-
> Note the distinction between `E2B_ACCESS_TOKEN` and `E2B_API_KEY`.
34+
> To authenticate without the ability to open the browser (e.g. in CI/CD),
35+
> provide `E2B_API_KEY` as an environment variable. You can find your API key
36+
> in the [API Keys](https://e2b.dev/dashboard?tab=keys) tab in the E2B dashboard.
37+
> Then use the CLI like this: `E2B_API_KEY=e2b_... e2b template create`.
4138
4239
### 3. Check out docs
4340

packages/cli/src/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const selectMultipleOption = new commander.Option(
3939

4040
export const projectOption = new commander.Option(
4141
'-t, --project <project-id>',
42-
'specify the project ID that the operation will be associated with. You can find project ID in the project settings in the E2B dashboard (https://e2b.dev/dashboard?tab=team).'
42+
'specify the project ID that the operation will be associated with. You can find project ID in the project settings in the E2B dashboard (https://e2b.dev/dashboard?tab=general).'
4343
)
4444

4545
export const deprecatedTeamOption = new commander.Option(

0 commit comments

Comments
 (0)