The benefits of a CLI
are that it's scriptable and auditable.
If you're doing something with a GUI, it's easy to click the wrong thing and potentially take down a production system, especially if it's a complex procedure with multiple steps.
If it's all scripted, you can have people review it first and make sure it's right, you can run the same thing exactly on multiple different systems. Ideally one being a test before you go near production with it, in the knowledge that exactly the same thing will be run again and again, without the possibility of deviation.