atlass 1.12.0 → 1.14.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 +17 -3
- package/dist/bitbucket.d.mts +1 -1
- package/dist/bitbucket.mjs +1 -1
- package/dist/{build-2A5pjMrK.mjs → build-CFyTL_x2.mjs} +2010 -1505
- package/dist/cli.d.mts +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/confluence.d.mts +1 -1
- package/dist/confluence.mjs +1 -1
- package/dist/jira.d.mts +1 -1
- package/dist/jira.mjs +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
CLI for Atlassian Cloud. Views Jira issues in the terminal, copies Jira issues
|
|
4
4
|
and Confluence pages to Markdown, pushes edits back, searches both, and shows
|
|
5
|
-
Bitbucket pipeline runs.
|
|
5
|
+
Bitbucket pipeline runs and pull requests.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -31,8 +31,8 @@ Site and email go in `~/.config/atlass/config.json`. The token goes in the OS
|
|
|
31
31
|
keyring. One account at a time.
|
|
32
32
|
|
|
33
33
|
Bitbucket needs its own Bitbucket-scoped token with pipeline, pull request,
|
|
34
|
-
account, and workspace read scopes, since Atlassian tokens are
|
|
35
|
-
product:
|
|
34
|
+
repository, account, and workspace read scopes, since Atlassian tokens are
|
|
35
|
+
scoped per product:
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
38
|
atlass bitbucket login # prompts for workspace, default repo, and token
|
|
@@ -191,6 +191,8 @@ atlass bitbucket prs --all # every state
|
|
|
191
191
|
atlass bitbucket prs --reviewer me # waiting on your review
|
|
192
192
|
atlass bitbucket prs --author me --repo acme/web
|
|
193
193
|
atlass bitbucket prs --query 'destination.branch.name = "main"'
|
|
194
|
+
atlass bitbucket pr 842 # one pull request in full
|
|
195
|
+
atlass bitbucket pr https://bitbucket.org/acme/web/pull-requests/842
|
|
194
196
|
```
|
|
195
197
|
|
|
196
198
|
`prs` shows `#ID State Age Title`, most recently updated first, open only
|
|
@@ -201,6 +203,18 @@ unless `--state` or `--all` says otherwise. Drafts show as `DRAFT` in place of
|
|
|
201
203
|
involving that person. `--query` replaces them and cannot be used alongside
|
|
202
204
|
them, and it cannot mention `state`, which `--state` owns.
|
|
203
205
|
|
|
206
|
+
`pr` shows one pull request: state, branches, approvals, the description, each
|
|
207
|
+
reviewer and where they stand, the changed files with line counts, and the last
|
|
208
|
+
five comment threads, inline ones anchored to `file:line`. A thread prints as its
|
|
209
|
+
opening comment with every reply indented beneath it, a resolved one closes with
|
|
210
|
+
who resolved it, and `@` mentions read as names. `--all-comments` shows the rest,
|
|
211
|
+
`--no-pager` prints directly, and `--json` prints the whole thing.
|
|
212
|
+
|
|
213
|
+
A pull request URL carries its own workspace and repo, so `--repo` is not needed
|
|
214
|
+
alongside one. Long pull requests stop at 50 files and 200 comments. The file
|
|
215
|
+
list needs the repository read scope; without it that section says so and the
|
|
216
|
+
rest still prints.
|
|
217
|
+
|
|
204
218
|
## Development
|
|
205
219
|
|
|
206
220
|
```bash
|
package/dist/bitbucket.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export {}
|
package/dist/bitbucket.mjs
CHANGED