A command-line utility to consolidate your code files for AI code reviews
-
Make the script executable
chmod +x aggregate_code.sh
-
Run it with a required directory path
./aggregate_code.sh -d /Users/panchicore/code/frontend/src/components/WorkflowManagerModal
-
Specify a different output file
./aggregate_code.sh -d /my/project -o /tmp/my_review.txt
-
Customize the file extensions
./aggregate_code.sh -d /my/project -e "ts,tsx"