Command reference
This page lists every flag on experiences import and the individual pipeline commands (analyze extract, analyze select-agent, analyze select, generate components, apply preview, apply select, apply push). See Import components for the guided walkthrough and Run the pipeline step by step for the per-step recipes.
Manifest deletion safety
Manifest preview and apply skip deletions by default. Components and design tokens that exist in the target environment but are missing from the manifest are omitted from the diff, so no delete actions are emitted.
Pass --allow-deletions to experiences import, experiences apply select, or experiences apply push to include removals. Published entities are excluded from deletion, and components referenced by Fragments remain protected. experiences apply preview is read-only and always skips deletions.
Credential precedence
Credentials — --space-id, --environment-id, --cma-token, and --host — resolve in a fixed order. The order depends on which surface receives them:
Interactive experiences import (the wizard):
- Values you enter in the wizard’s Credentials step during this run.
- Values saved via
experiences setup(stored on disk at~/.config/experiences/credentials.json). - Environment variables
CONTENTFUL_SPACE_ID,CONTENTFUL_ENVIRONMENT_ID,CONTENTFUL_MANAGEMENT_TOKEN,EDS_HOST. Only used as a fallback when the disk value for that field is empty.
Saved (disk) values take precedence over environment variables so that credentials you deliberately configured with experiences setup are not silently overridden by whatever happens to be in your shell. When environment variables are set, experiences setup prints a warning to make the shadowing behavior visible.
Headless / individual commands (--push-from-run, --skip-*, apply preview, apply select, apply push, and non-TTY experiences import):
- Command-line flag values (
--space-id,--environment-id,--cma-token,--host). - Environment variables (
CONTENTFUL_SPACE_ID,CONTENTFUL_ENVIRONMENT_ID,CONTENTFUL_MANAGEMENT_TOKEN,EDS_HOST).
Values saved via experiences setup are not consulted on the headless path — pass credentials via flags or environment variables. This mirrors typical CI conventions and keeps scripted runs deterministic.
experiences import
Common flags:
Advanced flags for headless pipelines and partial runs:
--dry-run still works but emits a stderr deprecation notice. Use --print-prompt instead.
Composite mode and composition sources. See Coded components for the full explanation:
Any composition source flag implies --composite, so you rarely pass --composite explicitly once you use one. The edge-source precedence is code slots, then map, then agent.
experiences analyze extract
experiences analyze select-agent
experiences analyze select
The standalone interactive TUI for reviewing extracted components.