I've glued together various tools and have come up with a reasonably easy way to never open the Arduino IDE again for Teensy development on Mac OS: https://github.com/drichelson/teensy-cmake
I'm using it as a template for OCTOWS2811/FastLED projects. If you try it and have any problems please respond here or create an issue on Github.