codapact-confluence 0.1.0__py3-none-any.whl
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.
- codapact_confluence/__init__.py +6 -0
- codapact_confluence/__main__.py +6 -0
- codapact_confluence/_docformat.py +161 -0
- codapact_confluence/_model.json +53465 -0
- codapact_confluence/cli.py +3347 -0
- codapact_confluence/client.py +3544 -0
- codapact_confluence/py.typed +0 -0
- codapact_confluence/skill/SKILL.md +39 -0
- codapact_confluence/types.py +4795 -0
- codapact_confluence-0.1.0.dist-info/METADATA +121 -0
- codapact_confluence-0.1.0.dist-info/RECORD +14 -0
- codapact_confluence-0.1.0.dist-info/WHEEL +4 -0
- codapact_confluence-0.1.0.dist-info/entry_points.txt +3 -0
- codapact_confluence-0.1.0.dist-info/licenses/LICENSE +21 -0
|
File without changes
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: codapact-confluence
|
|
3
|
+
description: Read and change Confluence Cloud pages, blog posts, comments, spaces, attachments, labels and tasks through the codapact-confluence CLI, with page bodies (macros included) as Markdown. Use for any Confluence task: finding, reading, creating or editing pages and comments.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Confluence Cloud
|
|
7
|
+
|
|
8
|
+
`codapact-confluence` is a command-line client for the Confluence Cloud API, generated by Codapact and
|
|
9
|
+
distributed as `codapact-confluence`. The CLI documents itself. This skill only gets it
|
|
10
|
+
ready; take every usage detail from the CLI, which always matches the version you run.
|
|
11
|
+
|
|
12
|
+
Always run it through uvx, as `uvx codapact-confluence ...`. Do not install it with `uv tool install`,
|
|
13
|
+
pipx, or pip. Where the CLI's own text says `codapact-confluence ...`, run `uvx codapact-confluence ...`.
|
|
14
|
+
|
|
15
|
+
## Once per skill load
|
|
16
|
+
|
|
17
|
+
1. Update the cached copy to the latest release:
|
|
18
|
+
`uvx --refresh-package codapact-confluence codapact-confluence --version`. Later calls in the session
|
|
19
|
+
reuse that copy without checking again.
|
|
20
|
+
2. Run `uvx codapact-confluence describe --brief` and read its `start`, `auth`, `exit_codes`, and
|
|
21
|
+
`notes`. They explain readiness, credentials, and how to find commands.
|
|
22
|
+
3. Follow `start`: it begins with `doctor`, whose exit code says whether the CLI is ready
|
|
23
|
+
and what to fix.
|
|
24
|
+
|
|
25
|
+
Do not repeat these steps for every command in the same session.
|
|
26
|
+
|
|
27
|
+
## For each task
|
|
28
|
+
|
|
29
|
+
- Find the command with `describe --brief` (on large CLIs it lists groups; then
|
|
30
|
+
`describe GROUP --brief`), then run `uvx codapact-confluence describe COMMAND` for its arguments
|
|
31
|
+
before you first use it. Add `--schemas` when you need the output schema.
|
|
32
|
+
- On a non-zero exit, read the error and its hint, and look the code up in `exit_codes`.
|
|
33
|
+
|
|
34
|
+
## Rules
|
|
35
|
+
|
|
36
|
+
- Before a command without the `read_only` trait, confirm with the user unless they asked
|
|
37
|
+
for exactly that change. Use `--dry-run` to show what it would send.
|
|
38
|
+
- Credentials come from the user. Never ask them to paste a secret into the chat; give them
|
|
39
|
+
the `auth` login command from `describe` to run in their own terminal.
|