Skip to content

armgit / E2B

Public Imported from GitHub
0

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

remove table borders in CLI

Mish Ushakov314ce295d81c
diff --git a/packages/cli/src/commands/sandbox/list.ts b/packages/cli/src/commands/sandbox/list.ts
index 790ad0bba..603a18ef5 100644
--- a/packages/cli/src/commands/sandbox/list.ts
+++ b/packages/cli/src/commands/sandbox/list.ts
@@ -41,6 +41,27 @@ export const listCommand = new commander.Command('list')
a.startedAt.localeCompare(b.startedAt) ||
a.sandboxID.localeCompare(b.sandboxID)
),
+ style: {
+ headerTop: {
+ left: '',
+ right: '',
+ mid: '',
+ other: '',
+ },
+ headerBottom: {
+ left: '',
+ right: '',
+ mid: '',
+ other: '',
+ },
+ tableBottom: {
+ left: '',
+ right: '',
+ mid: '',
+ other: '',
+ },
+ vertical: '',
+ },
colorMap: {
orange: '\x1b[38;5;216m',
},
diff --git a/packages/cli/src/commands/template/list.ts b/packages/cli/src/commands/template/list.ts
index 69ed7ed85..075e4e868 100644
--- a/packages/cli/src/commands/template/list.ts
+++ b/packages/cli/src/commands/template/list.ts
@@ -47,6 +47,27 @@ export const listCommand = new commander.Command('list')
...template,
aliases: listAliases(template.aliases),
})),
+ style: {
+ headerTop: {
+ left: '',
+ right: '',
+ mid: '',
+ other: '',
+ },
+ headerBottom: {
+ left: '',
+ right: '',
+ mid: '',
+ other: '',
+ },
+ tableBottom: {
+ left: '',
+ right: '',
+ mid: '',
+ other: '',
+ },
+ vertical: '',
+ },
colorMap: {
orange: '\x1b[38;5;216m',
},
@@ -62,7 +83,7 @@ export const listCommand = new commander.Command('list')
})
export async function listSandboxTemplates({
- teamID
+ teamID,
}: {
teamID?: string
}): Promise<e2b.components['schemas']['Template'][]> {