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

[Feature Request] push-components ./folder/*.json

Open ghost opened this issue 1 year ago • 1 comments

Current behavior: When I try to push multiple json files storyblok push-components ./sb-components/live/*.json --space xxxxxx components.live.json, I'm getting the following error:

X Can not load json file from ./sb-components/live/
X Can not push invalid json - please provide a valid json file
X An error occurred when executing the push-components task: Error: Can not push invalid json - please provide a valid json file

Expected behavior: I would like to see that I can assign a folder instead of having to add every single component to the script in my package.json. I really like the new pull --seperated-files flag, but would be nice to see this new feature as well.

ghost avatar Jul 28 '23 11:07 ghost