dev: Add code2prompt scripts to extract entire codebase into single file (#285)

This commit is contained in:
Mohan 2025-04-15 14:59:38 +02:00 committed by GitHub
parent 7023a186b1
commit b9609b979b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,4 @@
# Install using:
# 1. cargo install code2prompt
# 2. brew install code2prompt
code2prompt . --exclude "*.lock" --exclude ".sqlx/*" --exclude "target" --output-file "$TMPDIR/code.txt" && osascript -e 'set the clipboard to POSIX file "'"$TMPDIR"'/code.txt"'

View File

@ -0,0 +1,4 @@
# Install using:
# 1. cargo install code2prompt
# 2. brew install code2prompt
code2prompt . --exclude "*.lock" --exclude ".sqlx/*" --exclude "target"