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 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, description, the last five comments
46
- (`--all-comments` for all of them), and attachment names. The status is colored
47
- by category and the Markdown is syntax highlighted, code blocks included; color
48
- turns off automatically when piping, or with `NO_COLOR`, leaving plain Markdown.
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
- Lists issues assigned to you as `KEY Status Age Summary`, with In Progress
98
- first, then To Do, and the most recently updated at the top of each group. Done
99
- issues are left out; `--all` adds those updated in the last 30 days. `--json`
100
- and `--copy` work as for search.
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. `--jql` and `--cql`
113
- replace the friendly filters. `--limit` defaults to 25, max 100. `--json` prints
114
- machine output. Add `--copy` to pick results interactively and copy each one,
115
- with `--out` as the target directory.
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 { };
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ import { n as buildStandalone, r as fail } from "./build-Colq1d4N.mjs";
3
+ //#region src/bitbucket.ts
4
+ buildStandalone("bitbucket").parseAsync().catch(fail);
5
+ //#endregion
6
+ export {};