File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ defmodule AdoCli.CLI.PullRequests do
2222 ado_cli prs abandon PROJECT REPO PR_ID
2323 ado_cli prs comments list PROJECT REPO PR_ID [--all]
2424 ado_cli prs comments add PROJECT REPO PR_ID --content TEXT|@FILE|-
25- [--file-path PATH --line N] [--thread-id TID] [--status STATUS] [--json]
25+ [--file-path PATH --line N [--end-line N] ] [--thread-id TID] [--status STATUS] [--json]
2626 ado_cli prs comments update PROJECT REPO PR_ID THREAD_ID COMMENT_ID
2727 [--content TEXT|@FILE|-] [--status STATUS] [--resolved-by-me] [--dry-run] [--json]
2828 ado_cli prs comments delete PROJECT REPO PR_ID THREAD_ID [--comment-id ID] [--force] [--json]
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ commands:
4242 - ado prs complete PROJECT REPO ID --merge-strategy squash
4343 - ado prs approve PROJECT REPO ID
4444 - ado prs comments list PROJECT REPO PR_ID
45- - ado prs comments add PROJECT REPO PR_ID --content TEXT
45+ - ado prs comments add PROJECT REPO PR_ID --content TEXT --file-path PATH --line N
46+ - ado prs comments add PROJECT REPO PR_ID --content TEXT --file-path PATH --line N --end-line N
4647 - ado prs comments update PROJECT REPO PR_ID THREAD COMMENT --content TEXT
4748 - ado prs comments delete PROJECT REPO PR_ID THREAD
4849 - ado prs comments delete PROJECT REPO PR_ID THREAD --comment-id ID
@@ -286,6 +287,8 @@ ado prs abandon MyProject MyRepo 42
286287ado prs comments add MyProject MyRepo 42 --content LGTM ship it
287288ado prs comments add MyProject MyRepo 42 --content @notes.md # from file
288289echo " review" | ado prs comments add MyProject MyRepo 42 --content - # from stdin
290+ ado prs comments add MyProject MyRepo 42 --file-path src/app.ex --line 10 --content nitpick
291+ ado prs comments add MyProject MyRepo 42 --file-path src/app.ex --line 10 --end-line 20 --content codeblock review
289292ado prs comments list MyProject MyRepo 42 --all # full content view
290293ado prs comments update MyProject MyRepo 42 THREAD_ID COMMENT_ID --content " updated text"
291294ado prs comments update MyProject MyRepo 42 THREAD_ID COMMENT_ID --status closed --resolved-by-me
You can’t perform that action at this time.
0 commit comments