What is a Command Line Interface / CLI?

One Line of Input, One or More Lines of Output

A command line interface or cli takes in one line of standard input from a programming running in a REPL, evaluates the input, and responds by printing out one or more lines to standard output or standard error both of which appear to be separate lines on the terminal.