rgpt
An automated code review tool that uses GPT you can use straight from your terminal. More information: https://github.com/vaibhav-venkat/review-gpt.
- Ask GPT to improve the code with no extra options:
rgpt --i "$(git diff )"
- Get a more detailed verbose output from
rgptwhile reviewing the code:
rgpt --v --i "$(git diff )"
- Ask GPT to improve the code and limit it to a certain amount of GPT3 tokens:
rgpt --max --i "$(git diff )"
- Ask GPT for a more unique result using a float value between 0 and 2. (higher = more unique):
rgpt --pres --i "$(git diff )"
- Ask GPT to review your code using a specific model:
rgpt --model --i "$(git diff )"
- Make
rgptuse a JSON output:
rgpt --json --i "$(git diff )"
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
