Not sure if this is an answer - not used the _cli.exe.

But on Windows https://github.com/Defragster/Tset uses a batch file to create a batch file that triggers an IDE build from the command line?...