Skip to content
Cockpit0.29.0
A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live

majordomus generate

Write the committed projections of the registry (docs/generated), or check that they are current

What it is

repository mutation

Write the committed projections of the registry (docs/generated), or check that they are current

Identity
executable.generate
Program
executable
Runs
non interactive
Requires
repositorylayer
No machine surface carries this command: effect RepositoryMutation is above the machine ceiling LocalMutation

Where it appears

Command line
majordomus generate
Workflow
just generate
MCP tool
—
HTTP
—
Declared in
apps/majordomus-cli/src/cli.rs
Capability
—

Arguments

argumentvalues fromrequiredhelp
--repo—Start the search for the repository root here (default: the current directory)
--discovery—How declarative files are enumerated
--strict—Refuse to proceed when any file of the layer carries an error diagnostic
--share—The tool distribution's share directory (kinds.yaml, schemas/); default: $MAJORDOMUS_SHARE, then the repository's own share/, then the one beside the executable
<TARGET>—What to generate
--check—Compare with what is on disk and exit 10 when stale; write nothing
--out—Write under this directory instead of the repository root (docs/generated is appended)