# DatoCMS Contentful Import CLI DatoCMS CLI plugin to import a Contentful project into a DatoCMS project. Read a more detailed documentation [on the website](https://www.datocms.com/docs/import-and-export/import-space-from-contentful) * [DatoCMS Contentful Import CLI](#datocms-contentful-import-cli) * [Usage](#usage) * [Commands](#commands) * [Test](#test)



# Usage ```sh-session $ npm install -g @datocms/cli $ datocms plugins:install @datocms/cli-plugin-contentful $ datocms contentful:import --help ``` # Commands * [`@datocms/cli-plugin-contentful contentful:import`](#datocmscli-plugin-contentful-contentfulimport) ## `@datocms/cli-plugin-contentful contentful:import` Import a Contentful project into a DatoCMS project ``` USAGE $ @datocms/cli-plugin-contentful contentful:import [--json] [--config-file ] [--profile ] [--api-token ] [--log-level NONE|BASIC|BODY|BODY_AND_HEADERS] [--log-mode stdout|file|directory] [--contentful-token ] [--contentful-space-id ] [--contentful-environment ] [--autoconfirm] [--ignore-errors] [--skip-content] [--only-content-type ] [--concurrency ] FLAGS --autoconfirm Automatically enter an affirmative response to all confirmation prompts, enabling the command to execute without waiting for user confirmation, like forcing the destroy of existing Contentful schema models. --concurrency= [default: 15] Specify the maximum number of operations to be run concurrently --contentful-environment= The environment you want to work with --contentful-space-id= Your Contentful project space ID --contentful-token= Your Contentful project read-only API token --ignore-errors Ignore errors encountered during import --log-level=