Bpmn file as CLI argument for the modeler - HOWTO?

I’d want to open Camunda Modeler from command line and supply bpmn file path as argument to open the model. Have not found documentation concerning CLI arguments. Attempts to start the app with -h, --help options resulted in nothing.

How to?

Linux is use.

Hi,

you can simply pass the path of the diagram as argument. Example:

/opt/camunda-modeler/camunda-modeler ~/myDiagram.bpmn 
2 Likes

@student975 For Mac using terminal you can try below:

open -a Camunda\ Modeler.app --args ~/EndEventNotExistsProcess.bpmn

Great, thanks! My error was I used camunda-modeler from PATH, but that script (supplied by AUR) doesn’t translate arguments (as $@).