The official Contentful command line interface. Use Contentful features straight from the command line!
See the codeContentful's command line interface tool. Use Contentful features straight from your CLI.
Contentful provides a content infrastructure for digital teams to power content in websites, apps, and devices. Unlike a CMS, Contentful was built to integrate with the modern software stack. It offers a central hub for structured content, powerful management and delivery APIs, and a customizable web app that enable developers and content creators to ship digital products faster.
init command.contentful organization sec-check.Make sure you have Node LTS installed
npm install -g contentful-cli
# Or
yarn global add contentful-cli
Please note that for the non standalone versions you need Node LTS to use the CLI.
Use the --help parameter to display the help section for CLI tool or combined with a specific command to get the help section for that command.
contentful --help
# Or
contentful space --help
More detailed documentation for every command can be found in the docs section.
You can save the proxy configuration in your .contentfulrc.json via:
contentful config add --proxy user:auth@host:port
We also respect the http(s)_proxy environment variables:
https_proxy=user:auth@host:port contentful
When multiple proxy configurations exists, precedence is taken in this form:
http_proxy takes precedence over .contentfulrc.jsonhttps_proxy takes precedence over .contentfulrc.jsonhttps_proxy takes precedence over http_proxyYou can override the host configuration in your .contentfulrc.json via:
contentful config add --host api.eu.contentful.com --host-delivery cdn.eu.contentful.com
Then any subsequent command will use the EU hosts. E.g. contentful login will log you in to your EU Contentful instance.
rawProxy: true in your .contentfulrc.json via:contentful config add --raw-proxy
npm i
package.json
"bin": {
- "contentful": "bin/contentful.js"
+ "ctfl": "bin/contentful.js"
}
npm link
If you have a problem with this tool, please file an issue here on Github.
If you have other problems with Contentful not related to this library, you can contact Customer Support.
See CONTRIBUTING.md
MIT
(top 30 of 84)
1,131 commits
508 commits
82 commits
25 commits
JavaScript
53.4%
TypeScript
46.6%
The official Contentful command line interface. Use Contentful features straight from the command line!
See the codeContentful's command line interface tool. Use Contentful features straight from your CLI.
Contentful provides a content infrastructure for digital teams to power content in websites, apps, and devices. Unlike a CMS, Contentful was built to integrate with the modern software stack. It offers a central hub for structured content, powerful management and delivery APIs, and a customizable web app that enable developers and content creators to ship digital products faster.
init command.contentful organization sec-check.Make sure you have Node LTS installed
npm install -g contentful-cli
# Or
yarn global add contentful-cli
Please note that for the non standalone versions you need Node LTS to use the CLI.
Use the --help parameter to display the help section for CLI tool or combined with a specific command to get the help section for that command.
contentful --help
# Or
contentful space --help
More detailed documentation for every command can be found in the docs section.
You can save the proxy configuration in your .contentfulrc.json via:
contentful config add --proxy user:auth@host:port
We also respect the http(s)_proxy environment variables:
https_proxy=user:auth@host:port contentful
When multiple proxy configurations exists, precedence is taken in this form:
http_proxy takes precedence over .contentfulrc.jsonhttps_proxy takes precedence over .contentfulrc.jsonhttps_proxy takes precedence over http_proxyYou can override the host configuration in your .contentfulrc.json via:
contentful config add --host api.eu.contentful.com --host-delivery cdn.eu.contentful.com
Then any subsequent command will use the EU hosts. E.g. contentful login will log you in to your EU Contentful instance.
rawProxy: true in your .contentfulrc.json via:contentful config add --raw-proxy
npm i
package.json
"bin": {
- "contentful": "bin/contentful.js"
+ "ctfl": "bin/contentful.js"
}
npm link
If you have a problem with this tool, please file an issue here on Github.
If you have other problems with Contentful not related to this library, you can contact Customer Support.
See CONTRIBUTING.md
MIT
(top 30 of 84)
1,131 commits
508 commits
82 commits
25 commits
JavaScript
53.4%
TypeScript
46.6%