Directadmin is a great web hosting control panel. If you are an advanced user, you might find that it is a very powerful control panel for developers to interact using API. Most functions that you can do in its GUI, you can definitely do it using API.
There are also some features that it still lacks for developers like the ability to use a command-line interface (Directadmin CLI). Even there has been a request to have this feature included in Directadmin especially for developers:
Directadmin CLI feature request
The Directadmin CLI (or I call it dacli) is nothing more than just a wrapper script to easily manage directadmin and custombuild binary without having to type long command. For example, as a backend developer, you might always use the following command in your terminal to rebuild server config in DirectAdmin:
/usr/local/directadmin/custombuild/./build rewrite_confs
With dacli, you can simply run the following in which you don’t have to remember the long path:
dacli cb rewrite_confs
or you can restart DirectAdmin using the following command:
dacli da restart
It would be beneficial to developers who want to write API using bash without having to deal with curl. At this moment, I’m writing a script for dacli and I hope to publish this here when I have finished writing the code:
https://github.com/sofibox/dacli (this will be the replacement of the old maintenance mode script)