dumprepo
v1.0.0
Published
Dump current directory structure/files into stdout for Claude 3.5 Project.
Downloads
40
Readme
dumprepo
Usage
Please use node v18, or higher.
npx dumprepo
dumprepo outputs the project's source code as a single bundle to stdout. dumprepo dumps text files only.
//////////////// Project Structure ////////////////
{list of files with directory structure}
//////////////// FILE: {filename} ////////////////
{file content}
...
Configuration
The command dumprepo
generates a configuration file dumprepo.json
on its first run.
{
"projectStructure": {
"include": ["**/*"],
"exclude": ["node_modules/**", "dumprepo.json"]
},
"textFiles": {
"include": ["**/*"],
"exclude": ["node_modules/**", "dumprepo.json", "*.svg", "package-lock.json"]
},
"dot": false
}
projectStructure
: glob pattern settings for files to include or exclude in the file list displayed in the Project Structure section.textFiles
: glob pattern settings to determine which files contents should be output.dot
:false
::= Ignores files start with dot.