Skip to content

Commit 214f4fd

Browse files
committed
add prompt script
1 parent f38c299 commit 214f4fd

File tree

3 files changed

+560
-922
lines changed

3 files changed

+560
-922
lines changed
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/env bash
2+
3+
function add_file() {
4+
printf "\n%s\n" "$1"
5+
printf "\`\`\`%s\n" "$2"
6+
cat "$1"
7+
printf "\`\`\`\n\n"
8+
}
9+
10+
function main() {
11+
add_file ./gemini_solver.py python
12+
add_file ./gemini_logger.py python
13+
add_file ./gemini_client.py python
14+
echo
15+
cat prompt_instruction.md
16+
}
17+
18+
main > prompt.txt
19+
cat prompt.txt | xclip -selection clipboard

0 commit comments

Comments
 (0)