Konubinix' opinionated web of thoughts

Clk Built in Table Formatter

Fleeting

clk built in table formatter

One of the kinds of output we create the most is table. For that reason, clk provides a sensible implementation.

Actually, parameters, alias, etc use this table formatter and then share the same user experience.

clk parameter show podcast.create
podcast.create --no-fetch
--------------
Legend: global
clk parameter show podcast.create --format orgtbl
--------------
Legend: global
| command        | parameters   |
|----------------+--------------|
| podcast.create | --no-fetch   |
clk alias show k3d.flow
k3d.flow k8s install-cert-manager
--------------
Legend: global
clk alias show k3d.flow --format orgtbl
--------------
Legend: global
| alias    | commands                 |
|----------+--------------------------|
| k3d.flow | k8s install-cert-manager |

Notes linking here