Command Line Interface |
![]() |
SQL Enlight provides the Enlight.exe command line tool which can be used to automate the analysis and layout tasks.
This topic contains the following sections:

1Enlight <command> [<parameters>]

Parameter |
Description |
---|---|
Activate layout template with a given name. |
|
Generate database context metadata and output it as a XML file. |
|
analyzeServer |
Run database analysis and code analysis on SQL Server instance and a Database. |
Run code analysis on SQL files. |
|
Reformat SQL files. |
|
Export analysis template to a file. |
|
Import analysis template from file. |
|
Activate license. |
|
Check license. |
|
Deactivate license. |
|
Print license status. |
|
Refactor T-SQL script files using registered code refactorings. |
|
Team Settings configuration options. |
|
Analysis report transformation using XSLT. |
|
help |
Display more information on a specific command. |
version |
Display version information. |
For information commands and parameters usage, use “Enlight <command> –help”.