tctl-core

module
v0.0.0-...-691490b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2021 License: MIT

README

tctl-core

tctl-core contains a set of opinionated tooling for urfave/cli/v2 based CLIs

Features:

  • 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

Usage examples can be found here https://github.com/temporalio/tctl.

Directories

Path Synopsis
pkg
flags
The MIT License Copyright (c) 2020 Temporal Technologies Inc.
The MIT License Copyright (c) 2020 Temporal Technologies Inc.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL