TELUS Contentful CLI
To install
$> npm i @telusdigital/contentful-cli -g
Available Commands
Note: this will create the space, add all locales, register both legal and product UI extension
contentful-cli create-space --space-name "Name of the space" --access-token XXXXXXXXXXXXXXXX
contentful-cli list-spaces --access-token XXXXXXXXXXXXXXXX
contentful-cli delete-space --space-id ID_OF_SPACE --access-token XXXXXXXXXXXXXXXX
- Register Legal UI Extension
contentful-cli register-legal-extension --space-id ID_OF_SPACE --access-token XXXXXXXXXXXXXXXX
- Register Product UI Extension
contentful-cli register-product-extension --space-id ID_OF_SPACE --access-token XXXXXXXXXXXXXXXX