Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 832 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 832 Bytes

Diff

The diff command compares content models between two environments and prints the difference in the format of Kontent.ai Management API operations. You can compare two environments by providing parameters for source and target environments (environment ID and MAPI key), or compare the target environment with a folder model created by generate-sync-model command.

Usage

npx @kontent-ai/data-ops diff --targetEnvironmentId <environment-id> --targetApiKey <Management-API-key> --sourceEnvironmentId <source-environment-id> --sourceApiKey <-Management-API-key>

Or

npx @kontent-ai/data-ops diff --targetEnvironmentId <environment-id> --targetApiKey <Management-API-key> --folderName <content-model-folder>