Promptr - เครื่องมือ CLI ที่ช่วยนำคำแนะนำการแก้ไขโค้ดจาก GPT ไปใช้ได้ง่าย
(github.com/ferrislucas)- ทำขั้นตอนการส่งซอร์สโค้ดให้ ChatGPT ใส่พรอมป์ต์ รับคำตอบ แล้วคัดลอกผลลัพธ์ให้เป็นอัตโนมัติ
- เมื่อต้องใช้ ChatGPT สำหรับรีแฟกเตอร์หรือเขียนโค้ดทดสอบ สามารถนำไปใช้ได้ทันทีโดยไม่ต้องคัดลอก/วาง
$ promptr -m gpt4 -p "Cleanup the code in these files" app/index.js app.js$ promptr -m gpt4 -p "Alphabetize the method names in all of these files" $(git ls-tree -r --name-only HEAD | grep ".js" | tr '\n' ' ')
ยังไม่มีความคิดเห็น