|
| 1 | +--- |
| 2 | +name: agentio-confluence |
| 3 | +description: Use when interacting with confluence via the agentio CLI. |
| 4 | +--- |
| 5 | + |
| 6 | +# Confluence via agentio |
| 7 | + |
| 8 | +Auto-generated from `agentio skill confluence`. Do not edit by hand. |
| 9 | + |
| 10 | +## agentio confluence spaces |
| 11 | + |
| 12 | +List Confluence spaces |
| 13 | + |
| 14 | +Options: |
| 15 | + |
| 16 | +- `--profile <name>`: Profile name (optional if only one profile exists) |
| 17 | +- `--limit <number>`: Maximum number of spaces (default: 50) |
| 18 | +- `--type <type>`: Filter by type (global|personal|collaboration|knowledge_base) |
| 19 | + |
| 20 | +``` |
| 21 | +Examples: |
| 22 | +
|
| 23 | + # list all spaces |
| 24 | + agentio confluence spaces |
| 25 | +
|
| 26 | + # only global spaces |
| 27 | + agentio confluence spaces --type global |
| 28 | +
|
| 29 | + # with a limit |
| 30 | + agentio confluence spaces --limit 10 |
| 31 | +``` |
| 32 | + |
| 33 | +## agentio confluence pages |
| 34 | + |
| 35 | +List Confluence pages |
| 36 | + |
| 37 | +Options: |
| 38 | + |
| 39 | +- `--profile <name>`: Profile name (optional if only one profile exists) |
| 40 | +- `--space <key>`: Filter by space key |
| 41 | +- `--space-id <id>`: Filter by space id |
| 42 | +- `--parent <id>`: Filter by parent page id |
| 43 | +- `--limit <number>`: Maximum number of pages (default: 25) |
| 44 | + |
| 45 | +``` |
| 46 | +Examples: |
| 47 | +
|
| 48 | + # pages in a space |
| 49 | + agentio confluence pages --space ENG |
| 50 | +
|
| 51 | + # child pages of a parent |
| 52 | + agentio confluence pages --parent 123456 |
| 53 | +
|
| 54 | + # more results |
| 55 | + agentio confluence pages --space ENG --limit 50 |
| 56 | +``` |
| 57 | + |
| 58 | +## agentio confluence get <page-id> |
| 59 | + |
| 60 | +Get a Confluence page (with body) |
| 61 | + |
| 62 | +Options: |
| 63 | + |
| 64 | +- `--profile <name>`: Profile name (optional if only one profile exists) |
| 65 | +- `--format <format>`: Body format (storage|atlas_doc_format|view) (default: storage) |
| 66 | + |
| 67 | +``` |
| 68 | +Examples: |
| 69 | +
|
| 70 | + # get a page (storage format) |
| 71 | + agentio confluence get 123456 |
| 72 | +
|
| 73 | + # get in view format (rendered HTML) |
| 74 | + agentio confluence get 123456 --format view |
| 75 | +
|
| 76 | + # get as Atlas document format |
| 77 | + agentio confluence get 123456 --format atlas_doc_format |
| 78 | +``` |
| 79 | + |
| 80 | +## agentio confluence search |
| 81 | + |
| 82 | +Search Confluence content using CQL |
| 83 | + |
| 84 | +Options: |
| 85 | + |
| 86 | +- `--profile <name>`: Profile name (optional if only one profile exists) |
| 87 | +- `--cql <query>`: Raw CQL query |
| 88 | +- `--space <key>`: Filter by space key |
| 89 | +- `--type <type>`: Filter by type (page|blogpost|comment|attachment) |
| 90 | +- `--text <text>`: Free-text search |
| 91 | +- `--limit <number>`: Maximum number of results (default: 25) |
| 92 | + |
| 93 | +``` |
| 94 | +Examples: |
| 95 | +
|
| 96 | + # free-text search |
| 97 | + agentio confluence search --text "deployment guide" |
| 98 | +
|
| 99 | + # raw CQL query |
| 100 | + agentio confluence search --cql "space = ENG AND type = page AND title ~ 'API'" |
| 101 | +
|
| 102 | + # pages in a space matching text |
| 103 | + agentio confluence search --space ENG --type page --text "onboarding" |
| 104 | +``` |
| 105 | + |
| 106 | +## agentio confluence create |
| 107 | + |
| 108 | +Create a Confluence page |
| 109 | + |
| 110 | +Options: |
| 111 | + |
| 112 | +- `--title <title>`: Page title |
| 113 | +- `--profile <name>`: Profile name (optional if only one profile exists) |
| 114 | +- `--space <key>`: Space key (or use --space-id) |
| 115 | +- `--space-id <id>`: Space id (or use --space) |
| 116 | +- `--parent <id>`: Parent page id |
| 117 | +- `--content <text>`: Page body (or pipe via stdin) |
| 118 | + |
| 119 | +``` |
| 120 | +Examples: |
| 121 | +
|
| 122 | + # create a page in a space with inline content |
| 123 | + agentio confluence create --title "My Page" --space ENG --content "<p>Hello world</p>" |
| 124 | +
|
| 125 | + # create with body piped from a file |
| 126 | + cat page.html | agentio confluence create --title "My Page" --space ENG |
| 127 | +
|
| 128 | + # create as child of another page |
| 129 | + agentio confluence create --title "Sub Page" --space ENG --parent 123456 --content "<p>Content</p>" |
| 130 | +``` |
| 131 | + |
| 132 | +## agentio confluence update <page-id> |
| 133 | + |
| 134 | +Update a Confluence page (replaces body) |
| 135 | + |
| 136 | +Options: |
| 137 | + |
| 138 | +- `--profile <name>`: Profile name (optional if only one profile exists) |
| 139 | +- `--title <title>`: New page title (defaults to current title) |
| 140 | +- `--content <text>`: Page body (or pipe via stdin) |
| 141 | + |
| 142 | +``` |
| 143 | +Examples: |
| 144 | +
|
| 145 | + # update page body inline |
| 146 | + agentio confluence update 123456 --content "<p>Updated content</p>" |
| 147 | +
|
| 148 | + # update with body piped from a file |
| 149 | + cat updated.html | agentio confluence update 123456 |
| 150 | +
|
| 151 | + # update title and body |
| 152 | + agentio confluence update 123456 --title "New Title" --content "<p>New content</p>" |
| 153 | +``` |
| 154 | + |
| 155 | +## agentio confluence comments <page-id> |
| 156 | + |
| 157 | +List footer comments on a page |
| 158 | + |
| 159 | +Options: |
| 160 | + |
| 161 | +- `--profile <name>`: Profile name (optional if only one profile exists) |
| 162 | + |
| 163 | +``` |
| 164 | +Examples: |
| 165 | +
|
| 166 | + # list all footer comments on a page |
| 167 | + agentio confluence comments 123456 |
| 168 | +``` |
| 169 | + |
| 170 | +## agentio confluence comment <page-id> [body] |
| 171 | + |
| 172 | +Add a footer comment to a page |
| 173 | + |
| 174 | +Options: |
| 175 | + |
| 176 | +- `--profile <name>`: Profile name (optional if only one profile exists) |
| 177 | + |
| 178 | +``` |
| 179 | +Examples: |
| 180 | +
|
| 181 | + # add an inline comment |
| 182 | + agentio confluence comment 123456 "Looks good to me!" |
| 183 | +
|
| 184 | + # pipe comment body from stdin |
| 185 | + echo "LGTM" | agentio confluence comment 123456 |
| 186 | +``` |
0 commit comments