V:4.1.5/Karajan:Interpreter
From Java CoG Kit
< V:4.1.5
Contents |
Usage
cog-workflow <options> file <arguments>
Options
- (-execute | -e) <string>
- Execute the script given as argument
- -showstats
- Show various execution statistics at the end of the execution
- -debug
- Enable debugging. This will enable a number of internal tests at the expense of speed. You should not use this since it is useful only for catching subtle consistency issues with the interpreter.
- -debugger
- EXPERIMENTAL and BUGGY. Starts the internal graphical debugger
- -monitor
- Shows a resource monitor
- -dumpstate
- If specified, in case of a fatal error, the interpreter will dump the state in a file
- -intermediate
- Saves intermediate XML code resulting from the translation of .k files
- (-help | -h)
- Display usage information
- -cache
- EXPERIMENTAL! Enables cache persistance
- -stdoutUnordered
- Make
printinvocations produce produce results in the order they are executed. By default the order is lexical.
Arguments
Arguments to the script can be specified after the file name. They are distinct from the interpreter options, and are passed to the script as a constant, in the form of a list named "cmdline:arguments".
