Configuration of the Contentful CLI
Requirements
- A (free) Contentful account
- Locally installed
contentful-cli
General
Your added config parameters are stored in a .contentfulrc.json file in your home directory (~/.contentfulrc.json). The values in this map are used for every command.
The CLI will try to find other .contentfulrc.json files upstream. You can create a .contentfulrc.json file in your current directory to use other stored values for your projects.
Config list
Display a table with all currently used values.
The output should look similar to this:
Config add
Add a value to the config file.
The output should look similar to this:
Display a list of all flags/values you can add to the config file.
The output should look similar to this:
Config remove
Remove a value from the config map.
The output should look similar to this: