Storyblok Command Line Interface
Storyblok provides an official CLI for quickly scaffolding ambitious web projects.
Installation
Download your space's components schema as json
The following command allows you to save your components schemas somewhere save (git, svn) and also allows you to migrate components between different spaces. Download your components json:
storyblok pull-components --space={{your_space_id}}
Push your components file to your/another space
To push your downloaded components schema to another space you can execute the following command. Make sure to pass the right path/url of your components file you’ve downloaded as last parameter:
storyblok push-components --space={{your_dest_space_id}} {{path/url}}