CmdID

CmdID / Commands

sqlfluff

Lint and auto-format SQL files across multiple dialects. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Lint an SQL file or directory with a specific dialect

sqlfluff lint --dialect dialect path/to/file_or_directoryIdentify

Auto-format an SQL file or directory with a specific dialect

sqlfluff format --dialect dialect path/to/file_or_directoryIdentify

Automatically fix linting violations in an SQL file or directory

sqlfluff fix --dialect dialect --rules rule1,rule2,... path/to/file_or_directoryIdentify

Parse an SQL file or directory and display the parse tree

sqlfluff parse --dialect dialect path/to/file_or_directoryIdentify

Show all supported SQL dialects

sqlfluff dialectsIdentify