5. Command Line Interface

The OrmFactory Command Line Interface (CLI) provides access to project operations without starting the graphical user interface.

The CLI is intended for automation scenarios such as:

  • CI/CD pipelines
  • documentation generation
  • build scripts
  • scheduled tasks
  • integration with external tools

The desktop and command-line modes share the same project format and processing engine, ensuring consistent results regardless of how a command is executed.

Currently, the CLI provides diagram export functionality. Additional commands, including model comparison and database synchronization, will be added in future releases.

Running CLI commands

All commands are executed through the ormfactory executable.

General syntax:

ormfactory <command> [options]

For example:

ormfactory export-svg --project=model.ormfactory

Available commands

Command Description
export-svg Export one or more diagrams as SVG files.

See the individual command documentation for detailed options and examples.