|
23 | 23 | - Review Remote GitHub PRs Directly from Your Local CLI
|
24 | 24 | - Review Commit Changes with DeepSeek for Any Local Repository by CLI
|
25 | 25 | - Support On-demand Changes Generation via `git show`/`git diff` Command for Further Code Review
|
| 26 | +- Output Code Review Result to Specified File in Markdown Format |
26 | 27 | - Cross-platform Compatibility: Designed to function seamlessly across all platforms capable of running [Nushell](https://github.com/nushell/nushell)
|
27 | 28 |
|
28 | 29 | ### Both GH Action & Local
|
@@ -191,6 +192,7 @@ Flags:
|
191 | 192 | -x, --exclude <string>: Comma separated file patterns to exclude in the code review
|
192 | 193 | -T, --temperature <float>: Temperature for the model, between `0` and `2`, default value `1.0`
|
193 | 194 | -C, --config <string>: Config file path, default to `config.yml`
|
| 195 | + -o, --output <string>: Output file path |
194 | 196 | -h, --help: Display the help message for this command
|
195 | 197 |
|
196 | 198 | Parameters:
|
@@ -242,6 +244,8 @@ To review a local repository:
|
242 | 244 | cr
|
243 | 245 | # Perform code review on the `git diff f536acc` changes in current directory
|
244 | 246 | cr --diff-from f536acc
|
| 247 | +# Perform code review on the `git diff f536acc` changes and output result to review.md |
| 248 | +cr --diff-from f536acc --output review.md |
245 | 249 | # Perform code review on the `git diff f536acc 0dd0eb5` changes in current directory
|
246 | 250 | cr --diff-from f536acc --diff-to 0dd0eb5
|
247 | 251 | # Review the changes in current directory using the `--patch-cmd` flag
|
|
0 commit comments