Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Clean up list command

Jakub Novak77a992cbf820
diff --git a/packages/cli/src/commands/template/list.ts b/packages/cli/src/commands/template/list.ts
index 752aca26f..02046fba2 100644
--- a/packages/cli/src/commands/template/list.ts
+++ b/packages/cli/src/commands/template/list.ts
@@ -1,4 +1,3 @@
-import * as chalk from 'chalk'
import * as tablePrinter from 'console-table-printer'
import * as commander from 'commander'
import * as e2b from '@e2b/sdk'
@@ -19,11 +18,6 @@ export const listCommand = new commander.Command('list')
process.stdout.write('\n')
const templatesResponse = await listTemplates(accessToken, {})
-
- console.log(
- chalk.default.underline(chalk.default.green('Sandbox templates')),
- )
-
const templates = templatesResponse.data
if (!templates?.length) {
@@ -32,7 +26,7 @@ export const listCommand = new commander.Command('list')
const table = new tablePrinter.Table({
title: 'Sandbox templates',
columns: [
- { name: 'envID', alignment: 'left', title: 'EnvID' },
+ { name: 'envID', alignment: 'left', title: 'Template ID' },
{ name: 'aliases', alignment: 'left', title: 'Name', color: 'blue' },
],
disabledColumns: ['public', 'buildID'],