Cli Class

The cli class is a command line tool for displaying contents on the command line. This class does not in any way run or process commands. It only makes it easier to perform tasks like clearing lines, coloring texts, setting up prompts or running some simple animations. There are several methods that can be applied based on preference. These methods have been categorized under different subheadings.

Cli texts
Most of the methods that fall under this category are designed to define a particular way or position in which a text must be displayed. These method deals mostly with the position of console pointer by either shifting the position or utilizing its current position. The following are method that are grouped under this category.

Cli colors
There are certain color related methods that are used to apply colors on console text. These colors can be applied on the text itself or as a text background. The cli colors method are designed to makes it easier to add colors to texts. The methods below fall under this category

Cli notifications
Notifications are mostly needed in cases where we need the developer's terminal to notify and call the attention of a console user to a particular response. These method prefixes messages with special key words that makes it easier to understand the purpose or reason why a message is displayed.

Cli Animations
The cli loading animation system are used in certain situations to reflect that a process is ongoing. While they mostly do not provide information about the current process execution state, they are pretty useful when it comes to helping console user understand that some actions are currently taking effect. Animation methods include:

Cli prompts
The console or terminal's prompts are used to obtain inputs from a console user. These methods not only make it possible to obtain inputs but it also makes it easier to set up a response validation system. There are only two major methods for fetching user inputs while each of these two methods has its own child methods responsible for authenticating responses.
Cli storage
The Cli class has a keeps track of reusable items making is possible to store and reuse functions or texts. Usually, functions or strings are stored with an identifier name to be used later. This makes it easier to recall values across the cli system. The methods that fall under this category are: