1.2 KiB
1.2 KiB
SK Tools Commands
The sk-tools package provides generic CLI utilities not tied to a specific cloud provider.
Table
Command name: table
Usage: sk-tools table [--from|-F <json|csv|tsv>] [--columns|-C <definition>] [global options]
Options:
--from,-F<json|csv|tsv> - Input format read from stdin. Default:json.--columns,-C- Column definition. Possible values:col1- Select column (case-insensitive match), keep raw header label.col1:- Select column (case-insensitive match), use auto-generated header label.col1: Label 1- Select column (case-insensitive match), use custom header label.- Prefix token with
=for exact column-name match:=col1,=col1:,=col1:Label. - Tokens are comma-separated and rendered in the specified order.
Global options:
--query,-q- JMESPath filter applied before rendering.--output,-o- Output format:table|t|alignedtable|at|prettytable|pt|tsv.--help,-h- Show help.
Description: The table command transforms stdin data into tabular output. It accepts JSON, CSV, or TSV input and renders either Markdown table variants or TSV output.