Skip to main content

Confluence Command Line (ccl) is a suite of command line utilities designed to make working with confluence faster and easier.

Project description

Confluence Command Line (ccl) is a suite of command line utilities designed to make working with confluence faster and easier.

Installation

pip install confluence-command-line

This will install the binary ccl, which will allow you to execute the various confluence command line utilities.

create-skeleton

Creating hierarchies of pages in Confluence is time consuming and error prone. The create-skeleton command is a is for creating confluence structures quickly and easily.

Using create-skeleton is simple: just write up your structure (with optional content attributes) and run the tool over your yml file.

Example

  1. Create .yml file containing the structure you’d like to create. You’ll have to set host, username, api_key, and space. Don’t have an API key? Get one here: https://id.atlassian.com/manage/api-tokens
- host: <your_cloud_host>
- username: <your_username>
- api_key: <key>

- space: <my_space_key>

- page: RootA
  content: "This is my content"
  children:
    - page: Child A1
      children:
      - page: Child A11
      - page: Child A12
      - page: Child A13
        children:
        - page: Child A111
        - page: Child A112
        - page: Child A113
          children:
          - page: Child A1111
          - page: Child A1112
          - page: Child A1113

    - page: Child A2
    - page: Child A3

- page: RootB
  children:
    - page: Child B1
    - page: Child B2
    - page: Child B3
  1. Run the tool. Example usage:
ccl create-skeleton myfile.yml

Feedback and Contributions

Feedback and contributions are welcome! Please open an issue or a pull request to get in touch.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for confluence-command-line, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size confluence-command-line-0.4.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page