Update: Refactored commands into their own source files.

This commit is contained in:
2026-03-05 23:28:08 +01:00
parent 9581ee1a31
commit ba7bacbe12
13 changed files with 443 additions and 377 deletions

14
src/cli/commands/table.ts Normal file
View File

@@ -0,0 +1,14 @@
// SPDX-License-Identifier: MIT
import { readJsonFromStdin } from "../utils.ts";
export function usageTable(): string {
return `Usage: sk-az-tools table [--header|-H <spec|auto|a|original|o>] [global options]
Options:
-H, --header <value> Header mode/spec: auto|a (default), original|o, OR "col1, col2" OR "key1: Label 1, key2: Label 2"`;
}
export async function runTableCommand(): Promise<unknown> {
return readJsonFromStdin();
}