We can create a cpanel account from command line or terninal.
There is a command (or script) is available to this. here is the command to do it.
There are many options if you want to setup:
The Syntax of this command is as follows with options:
/scripts/wwwacct <domain name> <username> <password> <cpmod[advanced/?]> <ip[y/n]> <cgi[y/n]> <frontpage[y/n]> <maxftp> <maxsql> <maxpop> <maxlst> <maxsub> <bwlimit>
there are many other options are also available.
/scripts/wwwacct cloudtechtiq.com cloud web@12345 0 x3 n n n 0 0 0 0 0 0
here is the meaning of all above options:
This command will create a cpanel account with doamin example.com
Username will be cloud passoword will be web@12345 Quota will be unlimited (0). theme will be x3 dedecated ip is not assigned (n). CGI is off (n). Front Page is off (n). number of allowed ftp account will be unlimited (0). number of allowed database will be unlimited (0). number of allowed email account will be unlimited (0). number of allowed mailing lists will be unlimited (0). number of allowed sub domain will be unlimited (0). bandwidth will be unlimited.
All the other options that were not specified in the command are set to the defaults you have set in your WHM.
Anything set to 0 is unlimited.