.codegen
directory contains your project’s Codegen configuration, codemods, and supporting files. It’s automatically created when you run codegen init
.
codegen init
command:
--fetch-docs
flag downloads API documentation and examples specific to your project’s programming language..codegen/.venv/
to ensure consistent package versions and isolation from your project’s dependencies. This environment is:
uv
for fast, reliable package managementcodegen init
and used by commands like codegen run
and codegen notebook
.
.codegen/.venv
.env
file stores your project settings:
.gitignore
:
.codegen/codemods/
and config.toml
are tracked in Gitcodemods/
directory is where your transformation functions live. You can create new codemods using:
.codegen/codemods/
.codegen/prompts/
(if using --description
)codegen list
to see all codemods in your project.jupyter/
directory contains notebooks for interactive development:
.codegen
directory: