Skip to content

Contentstack Command-line Interface (CLI)

License

Notifications You must be signed in to change notification settings

Contentstack-Solutions/cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contentstack CLI

Contentstack is a headless CMS with an API-first approach that puts content at the centre. It is designed to simplify the process of publication by separating code from content.

Currently, the CLI is in Beta and supports content management scripts through which you can perform the following tasks:

  • Bulk publish content
  • Export content
  • Import content

Installing CLI

Prerequisites

Contentstack account Node.js version 8 or above

Installation

To install CLI on your system, run the below command in your terminal:

npm install -g @contentstack/cli 

To verify the installation, run csdx in the command window.

Usage

After the successful installation of CLI, use the --help parameter to display the help section of the CLI. You can even combine this parameter with a specific command to get the help section of that command.

$ csdx --help

Namespaces

auth: To perform authentication-related activities

cm: To perform content management activities such as bulk publish, import, and export content

help: To list the helpful commands in CLI

config: To set regions and customize them

Documentation

To get a more detailed documentation for every command, visit the CLI section in our docs.

Useful Plugins

About

Contentstack Command-line Interface (CLI)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.8%
  • Other 0.2%