0.0.4 • Published 7 years ago
connect-mappings-to-csv v0.0.4
connect-mappings-to-csv
Transform Mirth/NextGen Connect message mapping XML files to a single CSV.
Install
$ npm install -g connect-mappings-to-csvCLI Usage
Usage: connect-mappings-to-csv [options]
Options:
-V, --version output the version number
-i, --input-directory <inputDirectory> Directory location of XML files to parse
-o, --output-path <outputPath> Path to write output CSV
-f, --fields <fields> Comma delimited list of fields to include
-h, --help output usage informationDefaults
inputDirectory defaults to ./outputPath defaults to mappings-<timestamp>.csvfields defaults to all
Example Usage
- From the Mirth/NextGen Connect dashboard view of a channel,
Export Resultsand set theContenttoSource Map,Channel Map, etc. Export to/exampleLocationand ensure the file extensions will be.xml. connect-mappings-to-csv -i /exampleLocation -o out.csv -f fieldOne,fieldFiveout.csvwill contain a comma delimited set offieldOneandfieldFivemappings