Refactor CLI commands: remove table command and related utilities; update dependencies and version
All checks were successful
build / build (push) Successful in 17s

This commit is contained in:
2026-03-06 19:05:34 +01:00
parent 03fb55d97f
commit 2fa9462657
10 changed files with 35 additions and 460 deletions

View File

@@ -118,19 +118,4 @@ The `sk-az-tools` package may act as a CLI tool that provides various commands f
**Description:** The `list-resource-permissions` command returns available delegated and application permissions exposed by a resource app.
## Table
**Command name:** `table`
**Usage:** `sk-az-tools table [--header|-H <definition|auto|a|original|o>] [global options]`
**Options:**
- `--header`, `-H` <definition|auto|a|original|o> - Header definition. Possible values:
- `col1, col2, ...` - Column names separated by comma. The number of columns must match the number of columns in the table.
- `key1: Col1, key2: Col2, ...` - property names followed by column and the column name. The number of pairs must match the number of columns in the table.
- `auto`, `a` - header is generated automatically based on the first row of the table
- `original`, `o` - header is generated based on the original table (before any transformations)
**Description:** The `table` command act as a filter that transforms JSON input into a Markdown table. It uses built-in Markdown table formatter, but on arbitrary JSON input.