User Interface

We have already wrote about user interfaces in chapter about AddUser-NG cabilities. Now, that you have knowledge about configuration, we will summarize.

User Interface in AddUser-NG, is designed to comunicate with user. It is executed when any option from any plugin needs to be configurated, its value is not set in group file or commented out. In this case, user is being informed: what option, from which plugin, some help for the option is displyed, and the default value (if the option has one). User will be asked then to enter value for this option. If user stops program execution at this moment, no changes will be made, and program will quit.

Additonaly, User Interface is called by program if errors occure, in order to make user aware of them. If -V | --verbose option is used, verbose mode is on, and program informs user about what it is doing.

As there are different User Interfaces, the way they get data and present it is also different for each one.