atlass 1.8.0 → 1.10.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 +30 -12
- package/dist/bitbucket.d.mts +1 -0
- package/dist/bitbucket.mjs +6 -0
- package/dist/build-Colq1d4N.mjs +2519 -0
- package/dist/cli.mjs +2 -2381
- package/dist/confluence.d.mts +1 -0
- package/dist/confluence.mjs +6 -0
- package/dist/jira.d.mts +1 -0
- package/dist/jira.mjs +6 -0
- package/package.json +9 -3
package/README.md
CHANGED
|
@@ -12,6 +12,10 @@ npm install -g atlass
|
|
|
12
12
|
|
|
13
13
|
Or from source: `pnpm install && pnpm build && pnpm link --global`.
|
|
14
14
|
|
|
15
|
+
The install also adds `jira`, `confluence`, and `bitbucket` as shortcuts for
|
|
16
|
+
`atlass jira`, `atlass confluence`, and `atlass bitbucket`. Under `atlass`,
|
|
17
|
+
`conf` and `bb` are aliases for the two long names.
|
|
18
|
+
|
|
15
19
|
## Authentication
|
|
16
20
|
|
|
17
21
|
Create an API token at
|
|
@@ -40,12 +44,19 @@ atlass bitbucket logout
|
|
|
40
44
|
```bash
|
|
41
45
|
atlass jira view PROJ-123
|
|
42
46
|
atlass jira view https://acme.atlassian.net/browse/PROJ-123
|
|
47
|
+
atlass confluence view 123456
|
|
48
|
+
atlass confluence view https://acme.atlassian.net/wiki/spaces/DEV/pages/123456/Title
|
|
43
49
|
```
|
|
44
50
|
|
|
45
|
-
Prints the issue to the terminal: fields,
|
|
46
|
-
(`--all-comments` for all of them), and attachment names. The
|
|
47
|
-
by category and the Markdown is syntax highlighted, code
|
|
48
|
-
turns off automatically when piping, or with `NO_COLOR`,
|
|
51
|
+
Prints the issue or page to the terminal: fields, the body, the last five
|
|
52
|
+
comments (`--all-comments` for all of them), and attachment names. The Jira
|
|
53
|
+
status is colored by category and the Markdown is syntax highlighted, code
|
|
54
|
+
blocks included; color turns off automatically when piping, or with `NO_COLOR`,
|
|
55
|
+
leaving plain Markdown.
|
|
56
|
+
|
|
57
|
+
Output taller than the terminal goes through a pager, `$PAGER` or `less`, with
|
|
58
|
+
`LESS=FRX` unless you have set `LESS` yourself. Pass `--no-pager` to print
|
|
59
|
+
directly. Piped output is never paged.
|
|
49
60
|
|
|
50
61
|
## Copy
|
|
51
62
|
|
|
@@ -92,12 +103,18 @@ body sent is everything between the H1 and `## Comments`.
|
|
|
92
103
|
atlass jira list
|
|
93
104
|
atlass jira list --project PROJ
|
|
94
105
|
atlass jira list --all
|
|
106
|
+
atlass confluence list
|
|
107
|
+
atlass confluence list --space DOCS
|
|
95
108
|
```
|
|
96
109
|
|
|
97
|
-
|
|
98
|
-
first, then To Do, and the most recently updated at the top of each
|
|
99
|
-
issues are left out; `--all` adds those updated in the last 30 days.
|
|
100
|
-
|
|
110
|
+
`jira list` shows issues assigned to you as `KEY Status Age Summary`, with
|
|
111
|
+
In Progress first, then To Do, and the most recently updated at the top of each
|
|
112
|
+
group. Done issues are left out; `--all` adds those updated in the last 30 days.
|
|
113
|
+
|
|
114
|
+
`confluence list` shows the pages you starred as `ID SPACE Age Title`, most
|
|
115
|
+
recently updated first. `--limit` works as for search.
|
|
116
|
+
|
|
117
|
+
For both, `--json` and `--copy` work as for search.
|
|
101
118
|
|
|
102
119
|
## Search
|
|
103
120
|
|
|
@@ -109,10 +126,11 @@ atlass confluence search "onboarding" --space DOCS
|
|
|
109
126
|
atlass confluence search --cql "label = runbook ORDER BY created DESC"
|
|
110
127
|
```
|
|
111
128
|
|
|
112
|
-
Filters combine with AND and sort by most recently updated.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
129
|
+
Filters combine with AND and sort by most recently updated. Rows use the same
|
|
130
|
+
columns as `jira list` and `confluence list`. `--jql` and `--cql` replace the
|
|
131
|
+
friendly filters. `--limit` defaults to 25, max 100. `--json` prints machine
|
|
132
|
+
output. Add `--copy` to pick results interactively and copy each one, with
|
|
133
|
+
`--out` as the target directory.
|
|
116
134
|
|
|
117
135
|
Discovery aids for the filters:
|
|
118
136
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|