merge_content
Merge content from multiple files into a single output file with options to compress, use .gitignore rules, process streams, and customize file processing for efficient code repository management.
Instructions
Merges content from multiple files into a single output file.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
compress | No | Whether to compress the output. | |
custom_blacklist | No | Custom blacklist items. | |
ignore_git | No | Whether to ignore the .git directory. | |
max_files | No | Maximum number of files to process. | |
path | Yes | The target file or directory path. | |
use_cache | No | Whether to use file content cache. | |
use_gitignore | No | Whether to use .gitignore rules. | |
use_streams | No | Whether to use stream processing for large files. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"compress": {
"description": "Whether to compress the output.",
"type": "boolean"
},
"custom_blacklist": {
"description": "Custom blacklist items.",
"items": {
"type": "string"
},
"type": "array"
},
"ignore_git": {
"description": "Whether to ignore the .git directory.",
"type": "boolean"
},
"max_files": {
"description": "Maximum number of files to process.",
"type": "number"
},
"path": {
"description": "The target file or directory path.",
"type": "string"
},
"use_cache": {
"description": "Whether to use file content cache.",
"type": "boolean"
},
"use_gitignore": {
"description": "Whether to use .gitignore rules.",
"type": "boolean"
},
"use_streams": {
"description": "Whether to use stream processing for large files.",
"type": "boolean"
}
},
"required": [
"path"
],
"type": "object"
}