CliOptions

constructor(source: File?, outputDirectory: File?, libraryDirectory: File?, rendererName: String, clean: Boolean, pipe: Boolean, chromePath: String, exportPdf: Boolean = false, noPdfSandbox: Boolean = false, timeoutSeconds: Int? = null)

Parameters

source

main source file to process

outputDirectory

the output directory to save resource in, if set

libraryDirectory

the directory to load .qd library files from. Defaults to lib/qd within the install layout

rendererName

name of the renderer to use to generate the output for

clean

whether to clean the output directory before generating new files

pipe

whether to output the rendered result to standard output, suitable for piping

chromePath

path to the Chromium-family browser executable, used for PDF export

exportPdf

whether to generate a PDF file

noPdfSandbox

whether to disable the Chrome sandbox for PDF export

timeoutSeconds

maximum time, in seconds, allowed for the pipeline execution to complete. null (default) or non-positive disables the timeout and runs the pipeline inline on the current thread.