Local Links External Links Contact Search this site |
Arbed - Command (Tool) OperationsArbed can be asked via the cmdline to perform several operations, which is convenient for batch processing and other automation tasks. To invoke Arbed on Windows and Linux, it should be straight-forward like with any other command line tool. On OS X, not the .app bundle but the included executable needs be addressed from the command line, like this: /Applications/Arbed.app/Contents/MacOS/Arbed -- showDiff ...
Project ComparisonOpen two projects and show them in the Comparison window. Syntax (for comparison): --showdiff [options] leftPath rightPath
or (for conflict resolving): --showdiff [options] leftPath rightPath mergedPath
options:
Vault export/importPerforms a Vault ex-/import Syntax: --export-to-vault [options] path
--import-from-vault path
options:
Convert (Project Export) operationsThe Main window's Convert operations can be executed via the cmdline. When invoked this way, Arbed will process this one command and then quit again. If there are errors or warnings, they will be written to stdout. If there were no errors (warnings do not matter), it'll quit with exit code 0, otherwise with a non-zero value (e.g. 1). Syntax: command [options] inputPath outputFolderPath outputFileName
Note that output folder and file name are separate arguments, i.e. separated by a space. command is either:
options:
Source Output (Export) operationsTo export the project source for documentation and reference purposes, the source code can be exported as plain text or as HTML. Note that this output is not a perfect mirror of all the project's contents, as some information may be missing, such as Project Folders, Control properties, Attributes, Constant conditional variants, and more. You can also export the source to XML, which is more complete but will require you to further process the XML output. Syntax: command [options] inputPath outputFolderPath outputFileName
Note that output folder and file name are separate arguments, i.e. separated by a space. command is either:
options:
Script executionRuns a script on a project file that gets loaded from disk, and automatically saves the project file if the script modified it. The script may also output text using the "Print" command. This allows for batch processing of Real Studio project files. Syntax: --run-script [options] path-to-script path-to-project
options:
Example commands:
These would invoke a script that could find the given string "a b d" in the project and replace it with "def". |