@aaronshaf/confluence-cli 1.0.2 → 1.0.4
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 +1 -0
- package/package.json +1 -1
- package/src/cli/help.ts +8 -0
package/README.md
CHANGED
|
@@ -47,6 +47,7 @@ cn spaces
|
|
|
47
47
|
| `cn comments <id\|file>` | Show page comments |
|
|
48
48
|
| `cn labels <id\|file>` | Manage page labels |
|
|
49
49
|
| `cn move <id\|file> <parentId>` | Move a page to a new parent |
|
|
50
|
+
| `cn read <id\|file>` | Read and display page content |
|
|
50
51
|
| `cn attachments <id\|file>` | Manage page attachments |
|
|
51
52
|
| `cn folder <subcommand>` | Manage folders (create, list, delete, move) |
|
|
52
53
|
| `cn clone <SPACE_KEY>` | Clone a space to a new folder |
|
package/package.json
CHANGED
package/src/cli/help.ts
CHANGED
|
@@ -171,8 +171,16 @@ ${chalk.yellow('Usage:')}
|
|
|
171
171
|
cn spaces [options]
|
|
172
172
|
|
|
173
173
|
${chalk.yellow('Options:')}
|
|
174
|
+
--limit <n> Number of spaces per page (default: 25)
|
|
175
|
+
--page <n> Page number for pagination
|
|
174
176
|
--xml Output in XML format
|
|
175
177
|
--help Show this help message
|
|
178
|
+
|
|
179
|
+
${chalk.yellow('Examples:')}
|
|
180
|
+
cn spaces List first 25 spaces
|
|
181
|
+
cn spaces --limit 50 List 50 spaces
|
|
182
|
+
cn spaces --page 2 Show second page of results
|
|
183
|
+
cn spaces --page 2 --limit 10 Custom page size
|
|
176
184
|
`);
|
|
177
185
|
}
|
|
178
186
|
|