saveCodebase
Export a codebase to a file in XML, Markdown, or plain text. Customize output with file summaries, directory structures, line numbers, and patterns to include or exclude specific files.
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 |