I went through the pain of building a cli version. I got a LOT of help from tech support. Here’s a post where I outlined the key steps I used.