Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Refer to name as template name

Tomas Valenta817fc709f205
diff --git a/packages/cli/src/commands/build.ts b/packages/cli/src/commands/build.ts
index 347151c9d..e25a6c0a9 100644
--- a/packages/cli/src/commands/build.ts
+++ b/packages/cli/src/commands/build.ts
@@ -57,8 +57,8 @@ export const buildCommand = new commander.Command('build')
)} or ${asLocal(fallbackDockerfileName)} in root directory`,
)
.option(
- '-n, --name <name>',
- 'Specify name of sandbox template. You can use the name to start the sandbox in the SDK. The name must be lowercase and contain only letters, numbers, dashes and underscores',
+ '-n, --name <template-name>',
+ 'Specify sandbox template name. You can use the template name to start the sandbox with SDK. The template name must be lowercase and contain only letters, numbers, dashes and underscores',
)
.alias('bd')
.action(
@@ -121,7 +121,7 @@ export const buildCommand = new commander.Command('build')
if (newName && config?.name && newName !== config?.name) {
console.log(
- `The name of the sandbox will be changed from ${asLocal(config.name)} to ${asLocal(newName)}.`,
+ `The sandbox template name will be changed from ${asLocal(config.name)} to ${asLocal(newName)}.`,
)
}
const name = newName || config?.name
diff --git a/packages/cli/src/commands/list.ts b/packages/cli/src/commands/list.ts
index 65b39d75e..0a94abdb2 100644
--- a/packages/cli/src/commands/list.ts
+++ b/packages/cli/src/commands/list.ts
@@ -27,7 +27,7 @@ export const listCommand = new commander.Command('list')
title: 'Sandbox templates',
columns: [
{ name: 'envID', alignment: 'left', title: 'Template ID' },
- { name: 'aliases', alignment: 'left', title: 'Name', color: 'blue' },
+ { name: 'aliases', alignment: 'left', title: 'Template Name', color: 'blue' },
],
disabledColumns: ['public', 'buildID'],
rows: templates.map((template) => ({ ...template, aliases: listAliases(template.aliases) })),