Skip to content

domain-facts

Write per-type domain dossiers: joined facts for domain extraction.

Synopsis

codegraph domain-facts [model.jsonl...] [--framework <spring>] [--internal-only] [--declared-only] [--no-cache] [--out FILE]

Arguments

ArgumentMeaningDefault
<model.jsonl...>One or more model.jsonl paths, loaded together as ONE union (decision 5). With no path, the model the extractor writes in this directory.<current-dir>-codegraph.jsonl

Options

OptionMeaningDefault
--framework <spring>Classify types and entry points by a framework’s own vocabulary and attach DI candidates to each dossier. An inference from written annotations; absent means the dossiers say nothing about roles.—
--internal-onlyDrop stub (external) entities and every edge touching one.—
--declared-onlyKeep only declared facts; drop derived and dynamic-candidate edges.—
--no-cacheRead the model.jsonl directly; never build or reuse a sibling model.db.—
--out FILEWrite the artifact to this file instead of stdout.—
-h, --helpShow this help.—

Exit codes

0 ok · 1 internal error (a bug) · 2 usage error · 3 findings.

3 when the load was not clean; the artifact is still written.

Example

$ codegraph domain-facts fixtures/java/expected/model.jsonl --out /tmp/domain-facts.json
cache: fixtures/java/expected/model.db
wrote 100827 bytes to /tmp/domain-facts.json (domain facts, view all, 19 type dossiers, 58 operations).

See also

domain-facts.json · CLI conventions

Last updated on