Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Update docs
Tomas Valenta1c0d93985485
diff --git a/apps/docs/src/app/cli/commands/page.mdx b/apps/docs/src/app/cli/commands/page.mdxindex 4aae73b7b..d327ca11f 100644--- a/apps/docs/src/app/cli/commands/page.mdx+++ b/apps/docs/src/app/cli/commands/page.mdx@@ -38,7 +38,7 @@ If there is no `e2b.toml` config a new template will be created.Specify the name of the sandbox template. You can use the template name to start the sandbox in the SDK. The name must be lowercase and contain only letters, numbers, dashes, and underscores.</Option><Option type="-p, --path" name="path">- Change the root directory where command is executed to the `path` directory.+ Change the root directory where the command is executed to the `path` directory.</Option><Option type="-d, --dockerfile" name="dockerfile">Specify the path to Dockerfile. By default E2B tries to find `e2b.Dockerfile` or `Dockerfile` in the root directory.@@ -60,7 +60,47 @@ e2b template init<Options><Option name="path" type="-p, --path">- Change the root directory where command is executed to `path` directory.+ Change the root directory where the command is executed to `path` directory.+ </Option>+</Options>++---++## `delete`++Delete the sandbox template specified by the `[id]` argument, `e2b.toml` config in the working directory, or by an interactive selection.+By default, the root directory is the current working directory.++This command also deletes the `e2b.toml` config.++```bash+e2b delete+```++<Note>+Running `e2b delete` without specifying a template with the `[id]` argument will delete the template defined by the `e2b.toml` config.+</Note>++#### **Arguments**++<Options>+ <Option type="[id]">+ Specify the template you want to delete. You can use the template name or ID.+ </Option>+</Options>+++#### **Options**++<Options>+ <Option type="-p, --path" name="path">+ Change the root directory where the command is executed to the `path` directory.+ </Option>+ <Option type="-s, --select">+ Interactively select sandbox templates you want to delete.+ </Option>+ <Option type="-y, --yes">+ Don't ask for confirmation before deleting the sandbox template.</Option></Options>@@ -123,7 +163,7 @@ Running `e2b shell` without specifying a template with the `[id]` argument will<Options><Option name="path" type="-p, --path">- Change the root directory where command is executed to `path` directory.+ Change the root directory where the command is executed to `path` directory.</Option></Options>