# Command Line Interface

## Command Line Usage

If starting crystal-facet-uml from command line, there are a couple of options, call `crystal-facet-uml -h` for a list.

To run consistency checks, use the `-t` option:

`crystal-facet-uml -t my_database_file.cfu1 || echo "ERROR $?"`

To repair the database, use the `-r` option.

To merge two model files, use the `-i` option.

`crystal-facet-uml -i my_database_file_1.cfu1 add my_database_file_2.cfu1"`

To export a model, use the `-e` option.

`crystal-facet-uml -e my_database_file.cfu1 html output_directory"`

## Storing data in a version control system