Directadmin should include CLI commands

MaXi32

Verified User
Joined
Jul 25, 2016
Messages
658
Location
The Earth
Please vote this feature in the link below. Directadmin should have CLI commands like linode-cli (maybe we can call it da-cli). There are many benefits using this as a shortcut to manage directadmin or custombuild binary:

 
Last edited:
Still don't have vote.. Seems like people are not interested with this (or maybe do not understand the benefit). Trust me one day, there will be someone who need this when working a lot with directadmin at the backend.
 
Still don't have vote.. Seems like people are not interested with this (or maybe do not understand the benefit). Trust me one day, there will be someone who need this when working a lot with directadmin at the backend.
I am interested while it saves time , also when at / in DA panel itself things not working as should. ( BUGS mostly)
 
Yes, typing the same long command over and over again is a waste of time. For example how do you build clamav? Then they give this answer:

( traditional directadmin way):

Code:
cd /usr/local/directadmin/custombuild
./build set clamav yes
./buld set clamav_exim yes
./build  clamav

This can be use as shortcut using cli command like:

Code:
da-cli --buildapp clamav

This can be actually done by using bash script and put this da-cli into /usr/local/bin and then we can execute that with bash conditional script but we need this feature officially from directadmin. The biggest advantage is, it would reduce directadmin command lines for those who use scripting that deal with directadmin. Literally, any tasks in directadmin web gui can be done through this cli as the backend replacement. Server admin do not need this web GUI to manage server.

I can see that directadmin also have bunch of useful scripts in /usr/local/directadmin/scripts/* like change_username.

This script also can be combined into da-cli with well-documented options how to use them.
 
Last edited:
Back
Top