1.2.0 • Published 2 years ago
@springtree/eva-contentful-cli v1.2.0
eva-contentful-cli
Small utility script to update Contentful properties named; locale, stepMainCategory, stepSubCategory or ancientRitual.
https://www.npmjs.com/package/@springtree/eva-contentful-cli
Example output (for locale):
{
"id": "toxl",
"apiName": "locale",
"name": "Locale",
"type": "Symbol",
"localized": false,
"required": true,
"validations": [
{
"in": [
"bg_BG",
"da-DK",
"de-AT",
"de-CH",
"de-DE",
"el_GR",
"en-AT",
"en-BE",
"en-CH",
"en-DE",
"en-DK",
"en-ES",
"en-FI",
"en-FR",
"en-GB",
"en-GR",
"en-HU",
"en-IE",
...
]
}
],
"disabled": false,
"omitted": false
},
}
Usage:
npx @springtree/eva-contentful-cli -c {CONTENTFUL-TOKEN} -e {EVA_EMPLOYEE_TOKEN} -s {CONTENTFUL_SPACE_ID} -d {EVA_DOMAIN}