azdo-cli 0.5.0-017-pr-comments-threads.246 → 0.5.0-017-pr-comments-threads.248
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Azure DevOps CLI focused on work item read/write workflows.
|
|
|
13
13
|
- Create or update work items from markdown documents (`upsert`)
|
|
14
14
|
- Read and post work item comments (`comments`)
|
|
15
15
|
- Read/write rich-text fields as markdown (`get-md-field`, `set-md-field`)
|
|
16
|
-
- Check branch pull request status, open PRs to `develop`, and
|
|
16
|
+
- Check branch pull request status, open PRs to `develop`, list PR comment threads for any PR (`--pr-number`), and resolve/reopen threads from the CLI (`pr`)
|
|
17
17
|
- Persist org/project/default fields in local config (`config`)
|
|
18
18
|
- List all fields of a work item (`list-fields`)
|
|
19
19
|
- Store a PAT per Azure DevOps organization in the OS credential store via `azdo auth` (or use `AZDO_PAT`). Inspect with `azdo auth status`, remove with `azdo auth logout`. See [docs/authentication.md](docs/authentication.md).
|
|
@@ -40,9 +40,16 @@ azdo set-state 12345 "Active"
|
|
|
40
40
|
# Create a work item from markdown
|
|
41
41
|
azdo upsert --type "User Story" --content $'---\nTitle: Improve markdown import UX\nState: New\n---'
|
|
42
42
|
|
|
43
|
-
# Read and post comments
|
|
43
|
+
# Read and post work item comments
|
|
44
44
|
azdo comments list 12345
|
|
45
45
|
azdo comments add 12345 "Investigating the root cause now."
|
|
46
|
+
|
|
47
|
+
# PR comment threads — list, filter, target by number, resolve or reopen
|
|
48
|
+
azdo pr comments # active-branch PR
|
|
49
|
+
azdo pr comments --pr-number 64 # any PR by number (skips branch lookup)
|
|
50
|
+
azdo pr comments --pr-number 64 --hide-resolved
|
|
51
|
+
azdo pr comment-resolve 17 --pr-number 64 # idempotent: exit 0 even when already resolved
|
|
52
|
+
azdo pr comment-reopen 17 --pr-number 64
|
|
46
53
|
```
|
|
47
54
|
|
|
48
55
|
## Documentation
|