Skip to content

glx diff

Compare two GLX archive states

Synopsis

Compare two GLX archive states and show genealogy-aware differences.

Summarizes changes in terms of entities and evidence rather than raw YAML lines. Shows added, modified, and removed entities along with specific field changes, confidence upgrades/downgrades, and new evidence.

Output modes: (default) Summary table grouped by entity type --verbose Full field-level details for all modified entities --short Single-line compact summary --json Machine-readable JSON output

Use --person to filter changes relevant to a specific person.

glx diff <dir1> <dir2> [flags]

Examples

  # Compare two archive directories
  glx diff ./archive-v1 ./archive-v2

  # Verbose field-level details
  glx diff ./old ./new --verbose

  # Compact one-liner
  glx diff ./old ./new --short

  # JSON output for tooling
  glx diff ./old ./new --json

  # Filter changes for a specific person
  glx diff ./old ./new --person person-jane-webb

Options

  -h, --help            help for diff
      --json            JSON output
      --person string   Filter changes for a specific person ID
      --short           Compact single-line output
  -v, --verbose         Show full field-level details

SEE ALSO

  • glx - GENEALOGIX CLI - Manage and validate genealogy archives

Licensed under Apache License 2.0