What is CLI (Command line interface)?

A command-line interface (CLI) measures commands to a computer program in the form of lines of text. The program which manages the interface is called a command-line interpreter.
A command-line interface (CLI) is a text-based user interface (UI) utilized to view and control computer documents. CLI is distinct from the graphical user interface (GUI) that is now utilized in recent operating frameworks.