Skip to content

Command Line Tool - Layout

Format T-SQL code files.

Enlight layout
--inputPath=<paths>
--outputPath =<outputpath>
[ --template=<layouttemplate> ]
[ --settings=<settings> ]
ParameterDescription
inputPathRequired. Location of the T-SQL script files. A list of files separated with semicolon can also be provided. The - prefix can be used to exclude specific files.
outputPathRequired. Destination folder for the result files.
templateExact name or path to the file of the layout template which to be used.
settingsA settings file which to override the current user’s settings XML file.

Build Machines edition specific parameters:

ParametersDescription
licenseDataRequired. License data or activation response file path.

Reformat T-SQL files in specified input folder and create output files in specified folder using given layout template.

Enlight layout
--inputPath:"c:\sourcepath\*.sql"
--outputPath:"c:\sourcepath\reformated"
--template:"My Favorite"
Enlight layout
--template: "C:\Program Files\Yubitsoft\SQL Enlight\Templates\Layout\Ubitsoft Favorite 1.layouttemplate"
--inputpath: "E:\Projects\MyProject\SQL Script\*.sql";-"E:\Projects\MyProject\SQL Script\Excluded*.sql";
--outputpath: "E:\Projects\MyProject\SQL Script\Reformatted"

Command Line Interface