I am looking for a command line SQL formatter = SQL prettifier = SQL beautifier (not an online formatter) for Mac. The goal is to run it on the command line and also inside the editor (Emacs) for SQL files under a few thousand lines.
Related:
Most of these questions are closed:
- What Free SQL Formatting Tools exist? - Stack Overflow
- plsql - Good free offline PL/SQL formatter - Stack Overflow
- sql server - Tidy for SQL - Stack Overflow
- linux - SQL string formatter - Stack Overflow
- python - How to pretty format the printing of SQL Queries in SQLAlchemy? - Stack Overflow
- postgresql - SQL Query Formatter - Database Administrators Stack Exchange
- database - Linux CLI tool for auto-formatting (pretty printing) large SQL files - Software Recommendations Stack Exchange (for Linux, while my question is for Mac)