Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 526 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 526 Bytes

duplicate-space-cli

A bash script that will create a new space and duplicate the content model from your reference space.

How to run

Clone the repo and edit contentful-duplicate.

Line 6: Replace the space id with your reference space id.

REFSPACEID=tr7e0exvc0vn

Save and close the file.

On the command line run the following command to make the script executable.

chmod +x ./contentful-duplicate

Now you can run the script using the following command:

./contentful-duplicate