diff --git a/README.md b/README.md index 31c05e5d..4df35cb9 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,18 @@ To pack a specific directory: repopack path/to/directory ``` +To pack specific files or directories using glob patterns: + +```bash +repopack --include "src/**/*.ts,**/*.md" +``` + +To exclude specific files or directories using .gitignore syntax: + +```bash +repopack --ignore "*.log,tmp/" +``` + Once you have generated the packed file, you can use it with Generative AI tools like Claude or ChatGPT. @@ -172,6 +184,7 @@ Feel free to modify these prompts based on your specific needs and the capabilit - `-v, --version`: Show tool version - `-o, --output `: Specify the output file name +- `--include `: List of include patterns (comma-separated) - `-i, --ignore `: Additional ignore patterns (comma-separated) - `-c, --config `: Path to a custom config file - `--style