project-brain logoproject-brain

Export Commands

brain export file / dir

Manually add a single file or directory to the export bundle.

Export a single file

brain export file <path>

# Example
brain export file src/api.py

Export a directory

brain export dir <path>

# Example
brain export dir src/

Both commands append to the export bundle at .brain/exports/. The allow_duplicates setting in brain.yaml controls whether the same file can be added twice.