CLI : Pull command and Git workflow

It would be great if a team with both developers and designers could work simultaneously on the same project each on their own machine.

The designer could work inside the Rive editor to draw, create timelines, and design state machines.

The developer would write scripts for the dynamic usage of an animation in their editor of choice.

The problem with this approach now is that we need to work on the same cloud-based file in the Rive editor. However, as a developer, the Rive script editor does not fit my workflow and slows me down. Ideally, I would use the CLI to create a project that I can open an editor of my choice (which is possible, thank you!) and then push changes to Rive. Currently, there is a significant issue with this final step: merging.

If a developer pushes local changes, the remote Rive file is replaced by the local copy. Any changes made to the scene.rml by the designer in the Rive editor are erased.

One solution to this problem would be to at least have a

rive pull

command that pulls the changes made in the remote editor and proposes merging them with local changes. Then, the push would be successful and would not erase anything.

An even better solution would allow the designer to work on a local copy in the Rive editor and save changes to the local project (scene.rml). This would complete the full Git workflow, as we could both push to the remote repository and make pull/merge requests, etc.