Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
import * as commander from 'commander'
import { asPrimary } from 'src/utils/format'
import { templateCommand } from './template'
import { sandboxCommand } from './sandbox'
import { authCommand } from './auth'
export const program = new commander.Command()
// Fixed so help reads `e2b` however the entrypoint is invoked (npm bin
// symlink, `node dist/index.js`, or a distro wrapper script).
.name('e2b')
.enablePositionalOptions()
.description(
`Create sandbox templates from Dockerfiles by running ${asPrimary(
'e2b template create'
)} then use our SDKs to create sandboxes from these templates.
Visit ${asPrimary(
'E2B docs (https://e2b.dev/docs)'
)} to learn how to create sandbox templates and start sandboxes.
`
)
.addCommand(authCommand)
.addCommand(templateCommand)
.addCommand(sandboxCommand)