Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@telusdigital/contentful-cli

Package Overview
Dependencies
Maintainers
18
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@telusdigital/contentful-cli

A command line tool designed to help with common content operations in TELUS Contentful spaces.

  • 1.15.1
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
18
Weekly downloads
 
Created
Source

TELUS Contentful CLI

A command line tool designed to help with common content operations in TELUS Contentful spaces.

It is a shell of three useful contentful packages:

  • contentful-export
  • contentful-import
  • contentful-management-sdk

To install

$> npm i @telusdigital/contentful-cli -g

Available Commands

Usage:

List available spaces
contentful-cli list-spaces --access-token XXXXXXXXXXXXXXXX
Create contentful space
contentful-cli create-space --space-name "Name of the space" --access-token XXXXXXXXXXXXXXXX
Delete space
contentful-cli delete-space --space-id ID_OF_SPACE --access-token XXXXXXXXXXXXXXXX
List locales
contentful-cli list-locales --space-id ID_OF_SPACE --access-token XXXXXXXXXXXXXXXX
Add locales
contentful-cli add-locales --space-id ID_OF_SPACE --access-token XXXXXXXXXXXXXXXX
Delete locale
contentful-cli delete-locale --space-id ID_OF_SPACE --access-token XXXXXXXXXXXXXXXX --locale-id ID_OF_LOCALE
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
List content types
contentful-cli list-content-types --space-id ID_OF_SPACE --access-token XXXXXXXXXXXXXXXX
Clone content type
contentful-cli clone-content-type --from-space-id FROM_SPACE_ID --to-space-id TO_SPACE_ID --access-token XXXXXXXXXXXXXXXX --content-type-id ID_OF_CONTENT_TYPE_TO_CLONE
Export content
contentful-cli export-content --from-space-id FROM_SPACE_ID --access-token XXXXXXXXXXXXXXXX
Import content
contentful-cli import-content --to-space-id TO_SPACE_ID --access-token XXXXXXXXXXXXXXXX --content-file ./content-12345.json --skip-content-publishing true

Note: By default, skip-content-publishing is set to false

Sync content types
contentful-cli sync-content-types --from-space-id FROM_SPACE_ID --to-space-id TO_SPACE_ID --access-token XXXXXXXXXXXXXXXX
Sync content
contentful-cli sync-content --from-space-id FROM_SPACE_ID --to-space-id TO_SPACE_ID --access-token XXXXXXXXXXXXXXXX --skip-content-publishing true

Note: By default, skip-content-publishing is set to false

Publish content
contentful-cli publish-content --space-id YOUR_SPACE_ID --entry-id ENTRY_ID --access-token XXXXXXXXXXXXXXXX

FAQs

Package last updated on 07 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc