A command-line interface for sql-formatter-plus, providing SQL formatting from terminals and shell scripts. Version 1.3.4 is current with stable release cadence. Supports multiple dialects: Standard SQL, Couchbase N1QL, IBM DB2, Oracle PL/SQL. Read input via pipe, file, or stdin; output to stdout or file. Indentation, uppercase, and line break options. Differentiates by being a dedicated CLI tool, not a library, with no Node.js programmatic API.
npm install cli-sql-formatterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Format SQL from a pipe with uppercase keywords and 2-space indentation.
Update usage and check formatting output.
Use --tab instead of --tabs
Run `npm install -g cli-sql-formatter` and ensure global npm bin is in $PATH.
Use --dialect with one of: sql, n1ql, db2, pl/sql
Fix the SQL syntax or use a different tool for error-tolerant formatting.