Skip to content

Command Line Tool - Layout

Format T-SQL code files.

Enlight layout
--inputPath=<paths>
--outputPath =<outputpath>
[ --template=<layouttemplate> ]
[ --settings=<settings> ]
Parameter Description
inputPath Required. 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.
outputPath Required. Destination folder for the result files.
template Exact name or path to the file of the layout template which to be used.
settings A settings file which to override the current user’s settings XML file.

Build Machines edition specific parameters:

Parameters Description
licenseData Required. 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