For monero you use monero-wallet-cli[1], it's the official cli tools for monero.
I've tried this one, but it's not useful for automating. It requires user input to create a new address.
Can you provide more details on what you were doing and where exactly the problem was? A breakdown of the commands and how it compares to Bitcoin CLI? I'd like to try to follow the flow and see if I can find a way. I'm surprised that it is not possible.
Have you seen this
https://github.com/moneromooo-monero/monero-wallet-generator? It can be run locally and is made in JavaScript. It is not CLI, but if all other efforts fail I guess you could try to repurpose and port some of the code to another language and try like that? If you strip away the HTML and CSS it is much smaller, but it would still be a pretty demanding project. I guess there are probably tools with which you could automate an interaction with a local instance of this website, but I couldn't name one right now.