Skip to content

Commit

Permalink
remove table borders in CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
mishushakov committed Nov 29, 2024
1 parent bc17caa commit 314ce29
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
21 changes: 21 additions & 0 deletions packages/cli/src/commands/sandbox/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand Down
23 changes: 22 additions & 1 deletion packages/cli/src/commands/template/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand All @@ -62,7 +83,7 @@ export const listCommand = new commander.Command('list')
})

export async function listSandboxTemplates({
teamID
teamID,
}: {
teamID?: string
}): Promise<e2b.components['schemas']['Template'][]> {
Expand Down

0 comments on commit 314ce29

Please sign in to comment.