Build a application from command-line on Mac

I prefer to build applications from the command-line (its a habit enforced by 5 years of cross-compiling for bare-metal ARM). If I have a Unreal Engine project name UTest (just a copy of one of the templates that comes with UnrealEngine), how could I build UTest from the command-line? I use Mac OS X primarily. I tried using the examples on the Unreal Wiki, but they were for building project on Linux, and when I tried to adapt them to my Mac, they ended in errors. I prefer to have an application as my output, something I can run and test without the UE4Editor (the editor really doesn’t like my screen, so I avoid it whenever possible).

I am a new user here on AnswerHub, so I apologize for my inexperience. I appreciate any help that anyone can give me with this.