I also see the demand but at the moment you have only 2 options:
- Write your own automation scripts
- Use the JSON editor for schemas:
But this is not the most comfortable way to do that.
I have this idea since a while now and this might be a good point of time to work on that.
The idea is to provide a declarative sync with the CLI.
What you create as a user is a folder with json files, e.g.
config.json // clients, contributors
For all different scripts we create json schemas, so you get auto completion with VSCode and other editors.
Then you run the CLI which updates the app based on the folder.
For each entity we need a unique name that we use for the sync:
- Schemas: schema name (unique)
- Rules: rule name (not unique, but the best we have)
- Clients: name (unique)
- Contributors: email (unique)
- Workflows: workflow name (not unique, but the best we have)
- Roles: unique
- Content: You define per content item which fields are unique.
Of course we can also create a folder template with the CLI.
I would also introduce additional parameters like we have them for the schema sync, e.g. to prevent deletions.