Skip to content

Commit b9609b9

Browse files
authored
dev: Add code2prompt scripts to extract entire codebase into single file (#285)
1 parent 7023a18 commit b9609b9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Install using:
2+
# 1. cargo install code2prompt
3+
# 2. brew install code2prompt
4+
code2prompt . --exclude "*.lock" --exclude ".sqlx/*" --exclude "target" --output-file "$TMPDIR/code.txt" && osascript -e 'set the clipboard to POSIX file "'"$TMPDIR"'/code.txt"'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Install using:
2+
# 1. cargo install code2prompt
3+
# 2. brew install code2prompt
4+
code2prompt . --exclude "*.lock" --exclude ".sqlx/*" --exclude "target"

0 commit comments

Comments
 (0)