drawio-exporter icon indicating copy to clipboard operation
drawio-exporter copied to clipboard

Support for check

Open clarsonneur opened this issue 1 year ago • 1 comments

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?

clarsonneur avatar Feb 07 '24 15:02 clarsonneur

@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?

rlespinasse avatar Mar 25 '24 09:03 rlespinasse