Skip to content

JosephNaberhaus/cli-tti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI-TTI

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

Installation

From Binary

Download and extract the appropriate binary for your platform from the releases page. Place the executable within your PATH variable.

From Source

Download the repository via Git or as a Zip. Then run:

go build

Then place the built executable within your PATH variable.

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.