Finished migration to commander.js, updated table rendering engine to use code blocks for resource Guids.
All checks were successful
build / build (push) Successful in 8s

This commit is contained in:
2026-03-10 07:41:47 +01:00
parent 47a8b19748
commit 047e342842
9 changed files with 90 additions and 138 deletions

View File

@@ -7,7 +7,6 @@ import {
type TableInfoCommandValues = {
from?: string;
[key: string]: string | boolean | undefined;
};
type RowObject = Record<string, unknown>;
@@ -102,13 +101,6 @@ function buildInfo(input: unknown): string {
return lines.join("\n");
}
export function usageTableInfo(): string {
return `Usage: sk-tools table-info [--from|-F <json|csv|tsv>]
Options:
--from, -F <json|csv|tsv> Input format on stdin (default: json)`;
}
export async function runTableInfoCommand(values: TableInfoCommandValues): Promise<string> {
const from = (values.from ?? "json").toString().trim().toLowerCase();