mirror of
https://codeberg.org/scip/tablizer.git
synced 2025-12-16 20:20:57 +01:00
43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
# usage
|
|
exec tablizer --help
|
|
stdout Usage
|
|
|
|
exec tablizer -h
|
|
stdout show
|
|
|
|
# version
|
|
exec tablizer -V
|
|
stdout version
|
|
|
|
# completion
|
|
exec tablizer --completion bash
|
|
stdout __tablizer_init_completion
|
|
|
|
# use config (configures colors, but these are not being used, since
|
|
# this env doesn't support it, but at least it should succeed.
|
|
exec tablizer -f config.hcl -r testtable.txt Runn
|
|
stdout Runn
|
|
|
|
|
|
|
|
# will be automatically created in work dir
|
|
-- testtable.txt --
|
|
NAME READY STATUS RESTARTS AGE
|
|
alertmanager-kube-prometheus-alertmanager-0 2/2 Running 35 (45m ago) 11d
|
|
grafana-fcc54cbc9-bk7s8 1/1 Running 17 (45m ago) 1d
|
|
kube-prometheus-blackbox-exporter-5d85b5d8f4-tskh7 1/1 Running 17 (45m ago) 1h44m
|
|
kube-prometheus-kube-state-metrics-b4cd9487-75p7f 1/1 Running 20 (45m ago) 45m
|
|
kube-prometheus-node-exporter-bfzpl 1/1 Running 17 (45m ago) 54s
|
|
|
|
|
|
-- config.hcl --
|
|
BG = "lightGreen"
|
|
FG = "white"
|
|
HighlightBG = "lightGreen"
|
|
HighlightFG = "white"
|
|
NoHighlightBG = "white"
|
|
NoHighlightFG = "lightGreen"
|
|
HighlightHdrBG = "red"
|
|
HighlightHdrFG = "white"
|
|
|