@proggarapsody/bitbottle 1.23.0 → 1.25.0
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 +18 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -127,6 +127,24 @@ bitbottle pr reopen 42
|
|
|
127
127
|
bitbottle pr comment list 42 # all comments; LOCATION column shows path:line for inline
|
|
128
128
|
bitbottle pr comment list 42 --inline # only inline review comments
|
|
129
129
|
bitbottle pr comment list 42 --json id,inline,parentId,resolved,updatedAt
|
|
130
|
+
|
|
131
|
+
# Write review comments — general, inline, replies
|
|
132
|
+
bitbottle pr comment add 42 --body "LGTM!" # general comment
|
|
133
|
+
bitbottle pr comment add 42 --inline pkg/foo.go:88 --body "rename?" # inline (new side, single line)
|
|
134
|
+
bitbottle pr comment add 42 --inline pkg/foo.go:10-15 --body "..." # multi-line range (Cloud only)
|
|
135
|
+
bitbottle pr comment add 42 --inline pkg/foo.go:7 --side old --body ".." # comment on the old / removed side
|
|
136
|
+
bitbottle pr comment add 42 --parent 1234 --body "agreed" # reply to an existing thread
|
|
137
|
+
|
|
138
|
+
# Edit / delete / resolve a comment
|
|
139
|
+
bitbottle pr comment edit 42 1234 --body "updated"
|
|
140
|
+
bitbottle pr comment delete 42 1234
|
|
141
|
+
bitbottle pr comment resolve 42 1234 # Bitbucket Cloud only
|
|
142
|
+
|
|
143
|
+
# Submit a compound review (body + inline comments + action) in one call
|
|
144
|
+
bitbottle pr review 42 --approve --body "lgtm overall"
|
|
145
|
+
bitbottle pr review 42 --request-changes --body "see comments" \
|
|
146
|
+
--inline pkg/foo.go:88:please rename # request-changes is Cloud only
|
|
147
|
+
bitbottle pr review 42 --comment --inline pkg/foo.go:10-15:extract helper # comment-only review
|
|
130
148
|
```
|
|
131
149
|
|
|
132
150
|
### Repos & Branches
|