tctl-kit contains a set of opinionated tooling for urfave/cli/v2 based CLIs
- pagination of data based on
less
,more
and other pagers. Pager can be switched with $PAGER env variable. - limiting number of items in output (
--limit 10
) - formatting output as Table/JSON/Card (
--output table/json/card
) - datetime formatting (
--time-format relative
) - color (
--color auto
) - .yml based configuration of CLI. Supports configuring multiple environments.
- configuration of aliases for commands
Usage examples can be found here https://github.com/temporalio/tctl.