Home

Awesome

dmn-migrate-cli

Build Status

Migrate DMN diagrams to the latest DMN standard version, via your command line.

Installation

Install the command line globally:

npm install -g @bpmn-io/dmn-migrate-cli

Altenatively, run the utility directly via npx:

npx @bpmn-io/dmn-migrate-cli -o migrated/ '**/*.dmn'

Usage

  Migrate your DMN diagrams to DMN 1.3.

  Usage
    $ dmn-migrate -o [file|directory] [...inputs]

    Inputs may be glob patterns, too.
    If no input is given we read from stdin.

  Options
    --output,  -o   Output file or directory. Output directory must
                    end with file separator. If not given we pipe to
                    stdout.

  Examples
    $ dmn-migrate -o bar.dmn foo.dmn
    $ dmn-migrate -o migrated/ *.dmn
    $ cat foo.dmn | dmn-migrate > migrated/foo.migrated.dmn

License

MIT