Code Monkey home page Code Monkey logo

confluence-ruby's Introduction

confluence.rb

Helper script to access Atlassian Confluence. Currently you can

  • create and update pages
  • read page information (version, labels, space key, ...)
  • search for users

Installation

You need the ruby scripting language on your system. On Linux and Mac it usually already is available. On Windows you can use the

http://rubyinstaller.org

Maybe you need additional modules, also called "gems", e.g. the rest-client. In ruby you can install these with

gem install rest-client

Usage

Usage: confluence.rb [options]
    -c, --create_page PARENT_URL     Create page. 
    -d, --get_details PAGE_URL       Get page details (ID and space)
    -f, --content_file FILENAME      Content to upload
    -p, --page_count PAGENAME        Count pages in space
    -s, --search_user USERNAME       Search user
    -t, --page_title TITLE           Page title for new or updated pages
    -u, --update_page PAGE_URL       Update page, set also title (-t) and content (-f)
    -v, --verbose                    Run verbosely
    -h, --help                       Prints this help

The script reads $HOME/.mylogin as configuration file. This file contains credentials and base URL of your Confluence instance.

An example is provided in

mylogin-example

confluence-ruby's People

Contributors

insilmaril avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.