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
contentful-cli list-locales --space-id ID_OF_SPACE --access-token XXXXXXXXXXXXXXXX
contentful-cli add-locales --space-id ID_OF_SPACE --access-token XXXXXXXXXXXXXXXX
contentful-cli delete-locale --space-id ID_OF_SPACE --access-token XXXXXXXXXXXXXXXX --locale-id ID_OF_LOCALE
- 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