Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 927 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 927 Bytes

CLI-TTI

A utility to measure how long a CLI program takes to be interactive. Timing the Node.js based commitizen client

Installation

From source (recommended)

With v1.21 or greater of Golang you can easily install from source:

go install github.com/JosephNaberhaus/cli-tti@latest

From binary

Download and extract the appropriate binary for your platform from the releases page.

Usage

cli-tti [--wait-time] [-n] [--print-expected] <command to test>

Flags

--wait-time: The number of milliseconds to wait until the program is assumed to be interactive.

-n: The number of cycles to time the command before computing the average time-to-interactive.

--print-expected: Print the output that the utility has determined to be the interactive state of the command.