Skip to content

Command line

The engine binary. Without a subcommand it serves.

Command What it does
seeamess [serve] [--roles <list>] Runs the configured roles (see Configuration)
seeamess schema push --manifest <file> --url <url> --token <token> [--scope <scope>] [--dry-run] [--force] Pushes a manifest and prints the plan. Exit 0 applied, planned or unchanged; 2 breaking changes refused; 1 any other error.
seeamess schema get --url <url> --token <token> [--scope <scope>] Prints the current manifest as JSON
seeamess tenants plan --graph <file> [--graph <file> …] [--tenants <file>] [--out <file>] Splits content graphs into tenant databases and prints the report. Needs no engine.
seeamess token preview-secret Prints 32 random bytes, base64url, for SEEAMESS_PREVIEW_SECRET, SEEAMESS_MEDIA_SECRET or an extension secret
seeamess version Prints the version

--url and --token default to SEEAMESS_URL and SEEAMESS_TOKEN. Options also take --name=value. A usage error exits with 2.

The .NET schema tool, for content types written in C#.

seeamess-schema build --assembly <path.dll> --out <manifest.json>
seeamess-schema push --manifest <file> --url <base url> --token <token> [--scope <scope>] [--dry-run] [--force]

push exits 0 on success, 2 when the server refused a breaking change, 1 otherwise.

The Optimizely adapter (.NET). In the repository: scripts/dotnet10 run --project sdk/dotnet/SeeAMess.Migration.Optimizely -- <command>.

Command What it does
assess --source <connection string> Reports types, property types, volumes and what would become opaque
sync --source <…> --url <url> --token <token> [--watch <seconds>] Syncs Optimizely into one engine as upstream content; with --watch, repeats
sync --source <…> --targets <file> [--tenants <file>] [--planner <path>] Syncs several tenant engines by a computed plan
import --source <…> --url <url> --token <token> One-shot import: sync and adopt in one transaction
graph --source <…> --out <file> Writes the content graph for seeamess tenants plan
verify --optimizely <url> --seeamess <url> Compares both delivery APIs, field by field

Further options of sync and import: --source-id (default optimizely, or optimizely-import for import), --scope <name> (the schema scope, defaults to the source ID), --namespace <name> (re-keys a cloned installation; also on graph), --full, --dry-run and --force.