🔨 Make cli package distributable

This commit is contained in:
2024-10-03 15:04:23 +08:00
parent 8a5cc34bb4
commit 498eb05514
10 changed files with 58 additions and 23 deletions

View File

@ -57,7 +57,7 @@ export class ProcessCommand extends Command {
const statusMapping = ["Created", "Starting", "Started", "Exited", "Failed"]
const data = await res.json()
const data: any = await res.json()
for (const app of data) {
table.push([app["id"], statusMapping[app["status"]], app["command"].join(" ")])
}