Question: what are the advantages of using cli vs. gui?
Answer: One can edit the configuration manually.
One can memorize tasks easily as in CLI one has to type commands the terminal which may be difficult for most of the beginners.
It enables average computer users to interact with the computer. ... 
The main feature of any software is its ease of use.