Skip to content

A toolbox of non-trivial Contentful interactions

License

Notifications You must be signed in to change notification settings

foomo/contentfulcommander

Repository files navigation

Build Status Go Report Card Coverage Status GoDoc

sesamy

contentfulcommander

A toolbox of non-trivial Contentful interactions

Contentful Commander is a golang command line utility that simplifies development and maintenance of Contentful spaces.

Installation

Build your own binary or, if you trust us install it using Homebrew:

brew install foomo/tap/contentfulcommander

Usage

You need to be logged in to Contentful to use contentfulcommander:

  1. Install the Contentful CLI, see https://www.contentful.com/developers/docs/tutorials/cli/installation/
  2. Log in to Contentful from a terminal with:
$ contenful login
  1. Test it
$ contentfulcommander version
v0.1.0

Available commands

To get the list of available commands run

$ contentfulcommander help

and to get help for each specific command run

$ contentfulcommander help <command>

Currently supported commands are:

  • chid - Change the Sys.ID of an entry. This creates a copy of the existing entry, respecting the publishing status. The old entry is archived
  • modeldiff - Compare two content models across spaces and environments.

How to Contribute

Make a pull request...

License

Distributed under MIT License, please see license file within the code for more details.

Made with ♥ foomo by bestbytes