Commands
appDetails
Alias: appdetails
Print information about the application (file size, publish time, stream etc.)
Parameters:
- environment name (mandatory)
--output(optional) - the output will be saved into the provided file path
Examples:
1 | |
1 | |
build
Combine the tab script (from src folder) files into one and saves it into dist folder. Technically this is an internal command and there wont be much need to be ran manually
Examples:
1 | |
checkScript
Alias: checkscript
Checks the local script for syntax errors against Qlik session app.
Parameters:
- environment name (mandatory)
Examples:
1 | |
create
Create new project structure in the current directory
Parameters:
-t, --tasks- (optional) - create.vscodefolder withtasks.jsonandsettings.jsonfiles. Check vscode command for more info-c, --config- (optional) replace the defaultconfig.ymlwith the specified template config-s, --script- (optional) replace the default files insidesrcfolder with the files from the specified template folder
Templates
Check out the templates page for more info about templates
cred
List all credentials stored in C:\Users\<CURRENT USER>\.qlbuilder.yml.
If the yml file is encrypted then decryption password will be required.
Examples:
1 | |
decrypt
Decrypts C:\Users\<CURRENT USER>\.qlbuilder.yml and overrides it with the decrypted content.
Parameters:
--view(optional) - decrypts the file without overriding its content and show the decrypted content in te console-p, --password(optional) - provide the required password and skip the user input
WARNING
Use only if really needed. Providing the password like that will expose the password in the shell history
Examples:
1 | |
1 | |
1 | |
download
Downloads the configured qvf
Parameters:
- environment name (mandatory)
--nd, --nodata(optional) - default istrue. Download the qvf without data-p, --path(optional) - default is the current folder. Provide path to a folder where the qvf will be saved
Examples:
1 | |
1 | |
1 | |
encrypt
Encrypts C:\Users\<USERNAME>\.qlBuilder.yml. Password will be entered in the prompt.
Parameters:
-p, --password(optional) - provide the required password and skip the user input
WARNING
Use only if really needed. Providing the password like that will expose the password in the shell history
Examples:
1 | |
1 | |
getScript
Alias: getscript
Get the remote script, splits it into files (tabs) and save the files inside scr folder. The order of the tabs is maintained
Parameters:
- environment name (mandatory)
-y(optional) - By default the command will ask for explicit confirmation before remove the current files and replace them with the server version. This parameter skips the confirmation requirement
Examples:
1 | |
1 | |
help
Prints the general help or specific command help.
Examples:
1 | |
1 | |
1 | |
reload
Alias: reload
Triggers reload of the requested app as if Reload button is pressed in Qlik's script editor. The reload progress is displayed in the console.
Parameters:
- environment name (mandatory)
-ro, --reload-output- (optional) saves the reload log into the provided file location-roo, --reload-output-overwrite- (optional) similar toreload-outputbut the file name will always be[appId].txt. This way only the last reload log will be available
Examples
1 | |
1 | |
1 | |
section
Manage script sections - add, remove and move script tab files without the need to manually re-name and re-order. Extra users input will be needed depending on the section action
Examples:
1 | |
1 | |
1 | |
setScript
Alias: setscript
Combines all qvs files src folder, saves the output into dist folder, as a single file (LoadScript.qvs), and sets the content back to the Qlik app
Parameters:
- environment name (mandatory)
Examples:
1 | |
tables
Alias: fields
Print details for the tables and fields in the app
Parameters:
- environment name (mandatory)
--output- (optional) is provided will also save the output to the specified file. If the file extension is.mdthen the command will apply extra styling and makes the output Markdown compatible
Examples:
1 | |
1 | |
templates
List the available config and script templates. (Check out the templates documentation for more info about templates)
Examples
1 | |
vscode
Creates .vscode folder with pre-defined tasks.json and settings.json files
Examples:
1 | |
watch
Alias: Watch
Starts watch mode. In this mode qlBuilder listens for file changes inside src folder. When change is detected, by default, qlBuilder will auto check the generated script for errors (against a session app). In this mode the console is "dynamic" and can accept commands directly - set script, reload, check syntax and clear the console.
Parameters:
- environment name (mandatory)
-r, --reload- (optional) - after each file change reload the app-s, --set- (optional) - after each file change set the script back to Qlik-d, --disable- (optional) - disable the default behaviour and do not check the app for script errors after each file change
Examples:
1 | |
1 | |