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.

Source Distribution

confluence-command-line-0.4.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file confluence-command-line-0.4.tar.gz.

File metadata

  • Download URL: confluence-command-line-0.4.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for confluence-command-line-0.4.tar.gz
Algorithm Hash digest
SHA256 c0fddcd4509f770e4d62f7d34cf42a8cefb08a0fe865f6818b254b9299193bf8
MD5 f4980d38d7b21907e974d94080f53105
BLAKE2b-256 b4fbb07f0a0297b73135791e334aebab473a118aac6ec61fde57062db3609599

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page