Command Line Interface

ArgoUML can also be used for several actions in a GUI-less manner from command line. For this, a list of actions is passed to ArgoUML like this in the ArgoUML installation folder:

* java -jar argouml -command " = " -command " = " ...

With some knowledge about the java command, it should be easy to call this in any folder.

In the following all available actions are explained in alphabetical order. Currently only opening a project, importing source code and diagramm export (as image) is available. For more actions, either report a feature request in Issuezilla or, even better, contribute a patch by programming a class that implements the org.argouml.application.api.CommandLineInterface.

ActionExit
This action just exits ArgoUML. No parameters.

ActionGotoDiagram
This action sets the current diagram. The parameter is the diagram name. It must exist in the currently opened project.

ActionImportFromSources
This actions imports source code files and reverse engineers them as UML model elements in the currently opened project. The parameter must be formatted as :. The Language specifies the importer and must be available in ArgoUML. The path refers to a folder or single source code file.

ActionOpenProject
This actions opens an existing project by reading a .zargo file. The parameter is the path plus filename of the .zargo file, which must exist and be valid.

ActionSaveAllGraphics
This action saves all diagrams of the current project as image files in a given folder. The parameter must be a path to an existing folder.

ActionSaveGraphics
This action saves the current diagram of the current project as an image file. the Parameter is the path plus filename of the image.