Skip to content

JosephNaberhaus/cli-tti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 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 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.