Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces the new implementation of the
pull-components
commandHow to test this PR
295017
or295018
pnpm install
pnpm run dev pull-components --space <SPACE_ID>
Testing checklist
components.295017.json
file inside of.storyblok/components
directory containing an array with all the components available✔ Components downloaded successfully in ./storyblok/components/components.295017.json
Please provide the space as argument --space YOUR_SPACE_ID.
--separate-files
Space A Component Inside Folder 1
should generatespace-a-component-inside-folder-1.295017.json
The --filename option is ignored when using --separate-files
if--filename
flag is used along--sf
--path
components.295017.json
file inside of the path provided.--separate-files
--filename
custom-filename.295017.json
inside of the.storyblok/components
directorycustom-filename.295017.json
inside of the provided path if--path
is provided--suffix
components.suffix.json
inside of the.storyblok/components
directorycustom-filename.suffix.json
inside of the provided path if--path
is provided--separate-files
is used. Example: component namedSpace A Component Inside Folder 1
should generatespace-a-component-inside-folder-1.suffix.json