Create and export Draw.io diagrams from your terminal.
Recent revisions are kept. Restoring one creates a new revision.