Cli improvements (#850)

* Fix infinite user list

* Remove Description from table
This commit is contained in:
Kai Jellinghaus
2022-11-01 22:14:46 +01:00
committed by GitHub
parent e5d8111ae1
commit 7dafa6e955
5 changed files with 6 additions and 17 deletions

View File

@@ -152,15 +152,7 @@ async function list(opts: GlobalOptions & { showArchived?: boolean }) {
}
new Table()
.header([
"path",
"hash",
"kind",
"language",
"created at",
"created by",
"description",
])
.header(["path", "hash", "kind", "language", "created at", "created by"])
.padding(2)
.border(true)
.body(
@@ -171,7 +163,6 @@ async function list(opts: GlobalOptions & { showArchived?: boolean }) {
x.language,
x.created_at,
x.created_by,
x.description ?? "-",
])
)
.render();