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

Separate presets sync from components sync as own task runner

Open dohomi 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] Other CLI

Is your feature request related to a problem? Please describe. Currently the storyblok sync --type components syncs presets automatically. This is possibly not the expected behaviour, one component stack should be able to deliver different themes.

Describe the solution you'd like It would be ideal if presets would be an available typ for the sync command:

storyblok sync --type presets --source A --target B

This would be a breaking change but in my experience with the Storyblok API this would open more possibilities for the developers to maintain many projects based on the same component stack.

dohomi avatar Sep 03 '20 05:09 dohomi