rlespinasse / drawio-exporter

Command Line Client To Enhance Files Export Using Draw.io Application
https://crates.io/crates/drawio-exporter
MIT License
17 stars 5 forks source link

Support for check #47

Open clarsonneur opened 5 months ago

clarsonneur commented 5 months ago

Hi @rlespinasse ,

Really great tool!

Instead of export, can we have a "check command" which can compare existing exported files with what we have in the drawio file?

rlespinasse commented 3 months ago

@clarsonneur Hello, thanks.

Currently, drawio-exporter is a wrapper around drawio and drawio-desktop. In drawio-desktop, a check command exists but only serves to not overwrite a file during export by adding a numerical value at the end of the exported file. This functionality is not mapped in drawio-exporter.

To compare an exported file with the content of a drawio file, we need to export first and than compare. A diff tool or git can do the job.

What is your use case to see if we need to add a feature or to document how to do it using existing tooling?