Export formats
Codegenome CLI
codegenome export --format json --path . codegenome export --format html --path . codegenome export --format obsidian --path . codegenome export --format cypher --path .
Supported formats on the Click CLI: json, html, cypher, obsidian.
Legacy CLI (more formats)
python -m codegenome --workspace . --build --export json html markdown graphml cypher obsidian
Format reference
| Format | Use case | Output |
|---|---|---|
json | APIs, CI artifacts, custom tooling | .genome/exports/graph.json |
html | Shareable interactive graph | graph.html in exports dir |
markdown | Docs, reports | Markdown report file |
graphml | Gephi, yEd, graph tools | .graphml file |
cypher | Neo4j import | .cypher statements |
obsidian | PKM vault with wikilinks | Directory of notes |
Note
You must run codegenome analyze . before export. If no graph exists, the CLI exits with an error.