Skip to content

glx ancestors

Show ancestor tree for a person

Synopsis

Display the ancestor tree for a person by traversing parent-child relationships.

Walks up parent-child relationships, including biological, adoptive, foster, and step-parent variants, to build and display the full ancestor tree.

Non-default parent/child relationship types (biological, adoptive, foster, step) are annotated in the output when the relationship type is not parent_child.

glx ancestors <person-id> [flags]

Examples

  # Show ancestors
  glx ancestors person-abc123

  # Limit to 3 generations
  glx ancestors person-abc123 --generations 3

  # Use a specific archive
  glx ancestors person-abc123 --archive my-archive

Options

  -a, --archive string    Archive path (directory or single file) (default ".")
  -g, --generations int   Maximum number of generations (0 for unlimited)
  -h, --help              help for ancestors

SEE ALSO

  • glx - GENEALOGIX CLI - Manage and validate genealogy archives

Licensed under Apache License 2.0