bpmn-io / dmn-migrate-cli

Migrate your DMN diagrams to the latest DMN standard version, via your CLI

Home Page:https://www.npmjs.com/package/@bpmn-io/dmn-migrate-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Migrate your DMN diagrams to the latest DMN standard version, via your CLI

https://www.npmjs.com/package/@bpmn-io/dmn-migrate-cli

License:MIT License


Languages

Language:JavaScript 100.0%