if the real does not suit you needs you could make a feature proposal in the forum describing you needs or try to make a new cli with the chatmail core library yourself.
our forum: https://support.delta.chat/c/features/6
Alternatively if your goal is not to automate dc, but just to use it from the terminal, then the arcane chat terminal user interface may be of interest: https://github.com/ArcaneChat/arcanechat-tui/
