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

FormatUse caseOutput
jsonAPIs, CI artifacts, custom tooling.genome/exports/graph.json
htmlShareable interactive graphgraph.html in exports dir
markdownDocs, reportsMarkdown report file
graphmlGephi, yEd, graph tools.graphml file
cypherNeo4j import.cypher statements
obsidianPKM vault with wikilinksDirectory of notes

Note

You must run codegenome analyze . before export. If no graph exists, the CLI exits with an error.