GLX CLI Reference
The official command-line tool for working with GENEALOGIX (GLX) family archives. Use glx to initialize archives, import GEDCOM files, validate data quality, query entities, and analyze relationships.
The per-command pages linked below are auto-generated from the live Cobra command tree by make docs-cli. To change a command's documentation, edit its Use/Short/Long/Example strings in glx/cli_commands.go (or its *_runner.go file) and re-run the target. CI fails on any drift between the source command tree and the committed pages.
For installation instructions, see glx/README.md. For a guided walkthrough, see the Hands-On CLI Guide.
Commands
Archive Management
glx init— initialize a new archiveglx validate— validate files and cross-referencesglx split— convert a single-file archive to multi-fileglx join— convert a multi-file archive to single-fileglx merge— combine two archives with duplicate detectionglx merge-persons— merge two person records into oneglx migrate— migrate an archive to the current formatglx rename— rename an entity by IDglx cache— build, inspect, or clear the binary archive cache
Import & Export
glx import— import a GEDCOM fileglx export— export to GEDCOM or Schema.org-aligned JSON-LDglx publish— generate a self-contained static HTML site from an archive
Exploration
glx search— full-text search across entitiesglx query— filter and list entitiesglx vitals— show birth, death, burial for a personglx timeline— chronological events for a personglx summary— full person profile with narrativeglx ancestors— ancestor treeglx descendants— descendant treeglx cite— formatted citation textglx path— shortest relationship path between two peopleglx serve— local browser-based read-only archive viewer
Data Entry
glx census— census tooling (see subcommands)glx census add— generate entities from a census templateglx add— create person, place, event, source, citation, relationship, or assertion entities from flagsglx link— create a FamilySearch citation (and source/repository scaffolding) from an ARK URL
Analysis
glx stats— entity-count and confidence dashboardglx places— place data quality issuesglx cluster— FAN-club analysisglx analyze— gap, conflict, and suggestion analysisglx duplicates— detect duplicate entitiesglx coverage— research coverage reportglx diff— diff two archivesglx evidence— lay out every assertion for one person+property side-by-sideglx proof— compile a Genealogical Proof Standard summary for a research questionglx migrations— trace a person's geographic movement over time
Shell completion
glx completion— generate shell completion scripts (bash, zsh, fish, powershell)