confluence-tool

Confluence API and CLI


License
MIT
Install
pip install confluence-tool==0.6.6

Documentation

Getting started

Get instructions with

ct --help

Create a Confluence page with page properties only

For creating a page with page properties only you can run a command like:

ct page-prop-set \
   -l "first-label" -l "second-label" \
   -p "SPACE:parent page title" \
   "IT:new page titile" \
   "Property:=value" \
   "Name:=some name"

Get confluence profile data for a user

ct get --stream /display/~user

Get page properties of only approved pages (with Comala Workflow)

ct page-prop-get 'label = "first-label"' --dict -s Approved

Automatically change a state (comala workflow)

ct cw approve -n "Approval Name" "SPACE:Page title"

Reject a page

ct cw reject -m - -n "Approval Name" "SPACE:Page title" <<!
Some message
!

Documentation with pydoc-markdown (and mkdocs)