To launch Quail script, simply run following command:
java -jar yourQuailJarName.jar run yourQuailProgram.q
E.g.:
project
|-- quail.jar
|-- main.q
java -jar quail.jar run main.q
Global flags can modify behaviour of Quail
encoding
(default: UTF-8
) - default encoding for filesignoreDocs
(default: false
) - whether to parse Quail docs or ignore themdisplayReturnValue
(default: false
) - whether to display return value of filedebugPort
(default: 4004
) - remote debugger portaddons
(default: ` `) - list of addons (Chapter 16)Global flags are passed via following syntax:
-G.globalFlagName=value
E.g.: java -jar quail.jar -G.encoding="cp1251" run main.q
Custom flags are passed via following syntax:
-tF.customFlagName=value
, where t
is value type
E.g.: java -jar quail.jar -bF.ignoreModifiers=true run main.q
java -jar <path to quail jar package> [global and custom flags] run <path to target script>
E.g.: java -jar quail.jar -G.encoding="cp1251" -bF.ignoreModifiers=true run main.q
E.g.: java -jar quail.jar run main.q