Artifact 4ac2d8c4983f28bfc645ef8691e2fd6d95648eddea590a08d1764a61ebcff22d:
- File
docs/site/content/docs/reference/cli/repo-schema.md
— part of check-in
[d7fd910ffc]
at
2026-10-23 21:12:43
on branch main
— docs: generate the site's data, CLI reference and llms.txt from the code
tools/docsgen/engine records one check-in as an artifact, as its derived rows and as the cards of a pull, from a real engine run with fixed inputs. tools/docsgen/conformance turns TestCoverage's report into per-draft and per-requirement data. scripts/gen-cli-docs.sh writes one page per command group from the libfossil binary's --help. gen-llms-txt.sh and check-llms-txt.sh are ported from dagnats, and sync-version.sh now takes the highest release tag and writes the go.mod version too.
scripts/check-docs-generated.sh regenerates everything into a scratch dir and fails on any difference; make docs-check and the test-docs CI job run it. (user: [email protected], size: 2151) [annotate] [blame] [check-ins using] [more...]
title: 'repo schema' weight: 380 generated: true
description: 'Synced table schema operations'
<!-- Generated by scripts/gen-cli-docs.sh from the libfossil --help output. Do not edit; change the help text in cli/ and run make docs-gen. -->Usage: libfossil repo schema <command>
Synced table schema operations
Flags:
-h, --help Show context-sensitive help.
-R, --repo=STRING Path to repository file
-v, --verbose Verbose output
Commands:
repo schema add --columns=STRING <name> [flags]
Register a new synced table
repo schema list
List registered synced tables
repo schema show <name>
Show table schema details
repo schema remove <name>
Remove a synced table registration
repo schema add
Usage: libfossil repo schema add --columns=STRING <name> [flags]
Register a new synced table
Arguments:
<name> Table name (without x_ prefix)
Flags:
-h, --help Show context-sensitive help.
-R, --repo=STRING Path to repository file
-v, --verbose Verbose output
--columns=STRING Column defs: name:type[:pk],... (e.g.
peer_id:text:pk,addr:text)
--conflict="mtime-wins" Conflict strategy
repo schema list
Usage: libfossil repo schema list
List registered synced tables
Flags:
-h, --help Show context-sensitive help.
-R, --repo=STRING Path to repository file
-v, --verbose Verbose output
repo schema show
Usage: libfossil repo schema show <name>
Show table schema details
Arguments:
<name> Table name (without x_ prefix)
Flags:
-h, --help Show context-sensitive help.
-R, --repo=STRING Path to repository file
-v, --verbose Verbose output
repo schema remove
Usage: libfossil repo schema remove <name>
Remove a synced table registration
Arguments:
<name> Table name (without x_ prefix)
Flags:
-h, --help Show context-sensitive help.
-R, --repo=STRING Path to repository file
-v, --verbose Verbose output