confluence-cli 1.31.1 → 1.32.1
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 +54 -2
- package/bin/confluence.js +53 -24
- package/lib/confluence-client.js +143 -582
- package/lib/html-to-markdown.js +150 -0
- package/lib/macro-converter.js +298 -0
- package/npm-shrinkwrap.json +499 -4754
- package/package.json +1 -1
- package/plugins/confluence/skills/confluence/SKILL.md +6 -4
package/package.json
CHANGED
|
@@ -149,15 +149,16 @@ confluence --profile staging init --domain "staging.example.com" --auth-type bea
|
|
|
149
149
|
Read page content. Outputs to stdout.
|
|
150
150
|
|
|
151
151
|
```sh
|
|
152
|
-
confluence read <pageId> [--format html|text|markdown]
|
|
152
|
+
confluence read <pageId> [--format html|text|storage|markdown]
|
|
153
153
|
```
|
|
154
154
|
|
|
155
155
|
| Option | Default | Description |
|
|
156
156
|
|---|---|---|
|
|
157
|
-
| `--format` | `text` | Output format: `html`, `text`, or `markdown` |
|
|
157
|
+
| `--format` | `text` | Output format: `html`, `text`, `storage`, or `markdown` |
|
|
158
158
|
|
|
159
159
|
```sh
|
|
160
160
|
confluence read 123456789
|
|
161
|
+
confluence read 123456789 --format storage
|
|
161
162
|
confluence read 123456789 --format markdown
|
|
162
163
|
```
|
|
163
164
|
|
|
@@ -165,14 +166,15 @@ confluence read 123456789 --format markdown
|
|
|
165
166
|
|
|
166
167
|
### `info <pageId>`
|
|
167
168
|
|
|
168
|
-
Get page metadata
|
|
169
|
+
Get page metadata. Use `--format json` for machine-readable output.
|
|
169
170
|
|
|
170
171
|
```sh
|
|
171
|
-
confluence info <pageId>
|
|
172
|
+
confluence info <pageId> [--format text|json]
|
|
172
173
|
```
|
|
173
174
|
|
|
174
175
|
```sh
|
|
175
176
|
confluence info 123456789
|
|
177
|
+
confluence info 123456789 --format json
|
|
176
178
|
```
|
|
177
179
|
|
|
178
180
|
---
|