storyblok-cli icon indicating copy to clipboard operation
storyblok-cli copied to clipboard

add option to the CLI for syncing the stories' data structures with the actual version of their content types' schema

Open Slackman2015 opened this issue 4 years ago • 0 comments

The feature would affect: (check one with "x")

  • [ ] app.storyblok.com (CMS - Interface)
  • [ ] api.storyblok.com (CMS - Content Delivery API)
  • [ ] mapi.storyblok.com (CMS - Management API)
  • [ ] capi.storyblok.com (Commerce - API)
  • [ ] Commerce - Interface
  • [x] CLI

Is your feature request related to a problem? Please describe. At the moment it is only possible to add new to the schema added fields to stories of that content type by saving them manually in the UI or by writing a custom script that uses the management API.

Describe the solution you'd like It would be very helpful to have the possibility to get the actual stories in a space into sync with the actual schema configuration so that this can't cause issues with the implementation of an app when fields aren't present in the JSON.

Additionally an option for cleaning stories up from out of schema fields would also be useful.

Slackman2015 avatar Feb 17 '21 19:02 Slackman2015