saveCodebase
Export a codebase to a file in XML, Markdown, or plain text formats. Includes directory structure, file summaries, line numbers, and customizable patterns for inclusion or exclusion.
Instructions
Save the codebase to a file using RepoMix
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cwd | No | Current working directory of the codebase (defaults to current dir) | |
format | No | Output format (xml, markdown, or plain) | xml |
ignorePatterns | No | Ignore patterns (using glob patterns, comma-separated) | |
includeDirectoryStructure | No | Include directory structure | |
includeFileSummary | No | Include summary of each file | |
includePatterns | No | Include patterns (using glob patterns, comma-separated) | |
outputFile | No | Output file path | repomix-output.txt |
removeComments | No | Remove comments from the code | |
removeEmptyLines | No | Remove empty lines from the code | |
showLineNumbers | No | Show line numbers |