Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

chore(cli): migrate dashboard links to project-era tab entrypoints (#1605)

Mish Ushakov2c061eb8cf20
diff --git a/.changeset/dashboard-project-tab-link.md b/.changeset/dashboard-project-tab-link.md
new file mode 100644
index 000000000..5e035a8d2
--- /dev/null
+++ b/.changeset/dashboard-project-tab-link.md
@@ -0,0 +1,5 @@
+---
+'@e2b/cli': patch
+---
+
+Point the `--project` flag help at the dashboard's `?tab=general` entrypoint (was `?tab=team`)
diff --git a/packages/cli/README.md b/packages/cli/README.md
index a8cad298d..8d575cb59 100644
--- a/packages/cli/README.md
+++ b/packages/cli/README.md
@@ -31,13 +31,10 @@ e2b auth login
```
> [!NOTE]
-> To authenticate without the ability to open the browser, provide
-> `E2B_ACCESS_TOKEN` as an environment variable. You can find your token
-> in Account Settings under the Team selector at [e2b.dev/dashboard](https://e2b.dev/dashboard). Then use the CLI like this:
-> `E2B_ACCESS_TOKEN=sk_e2b_... e2b template create`.
-
-> [!IMPORTANT]
-> Note the distinction between `E2B_ACCESS_TOKEN` and `E2B_API_KEY`.
+> To authenticate without the ability to open the browser (e.g. in CI/CD),
+> provide `E2B_API_KEY` as an environment variable. You can find your API key
+> in the [API Keys](https://e2b.dev/dashboard?tab=keys) tab in the E2B dashboard.
+> Then use the CLI like this: `E2B_API_KEY=e2b_... e2b template create`.
### 3. Check out docs
diff --git a/packages/cli/src/options.ts b/packages/cli/src/options.ts
index bc6d05e0d..2df55d41c 100644
--- a/packages/cli/src/options.ts
+++ b/packages/cli/src/options.ts
@@ -39,7 +39,7 @@ export const selectMultipleOption = new commander.Option(
export const projectOption = new commander.Option(
'-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=team).'
+ '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).'
)
export const deprecatedTeamOption = new commander.Option(