Update scripts

This commit is contained in:
freearhey
2025-03-15 07:31:10 +03:00
parent c4efdcfe2c
commit d931903a8d
5 changed files with 217 additions and 4 deletions

21
scripts/core/cliTable.ts Normal file
View File

@@ -0,0 +1,21 @@
import { Table } from 'console-table-printer'
export class CliTable {
table: Table
constructor(options?) {
this.table = new Table(options)
}
append(row) {
this.table.addRow(row)
}
render() {
this.table.printTable()
}
toString() {
return this.table.render()
}
}