| Crates.io | proompt |
| lib.rs | proompt |
| version | 0.1.0 |
| created_at | 2025-01-13 21:22:50.509484+00 |
| updated_at | 2025-01-13 21:22:50.509484+00 |
| description | Concatenate a directory full of files into a single prompt for use with LLMs |
| homepage | |
| repository | https://github.com/code-inflation/proompt |
| max_upload_size | |
| id | 1515161 |
| size | 38,369 |
proompt is a small CLI utility designed to concatenate the contents of files within specified directories into a single prompt. It supports various options for customizing file processing, including handling hidden files, ignoring specific patterns, and managing different file extensions.
cargo install proompt
/proompt --help
Concatenate a directory full of files into a single prompt for use with LLMs
Usage: proompt [OPTIONS] [PATHS]...
Arguments:
[PATHS]... Paths to files or directories to process
Options:
-e, --extension <EXTENSION> Only include files with the specified extensions
--include-hidden Include hidden files and directories
--ignore-gitignore Ignore .gitignore files
--ignore <PATTERN> Patterns to ignore
-o, --output <FILE> Write output to a file
-h, --help Print help
-V, --version Print version
Copy full repo:
proompt . | pbcopy
Exclude tests dir:
proompt --ignore tests/* . | pbcopy