Skip to content

Moogsoft/conf-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conf-cli

Overview

Small utility to pull a page from Confluence and build a local html with local images.

Only supports .png

Command line only.

Usage: conf-cli [options] page

Options:

-h, --help                 output usage information
-V, --version              output the version number
-u, --user [user]          The user to authentiacte as [optional]
-p, --password [password]  The user's password [optional]
-s, --space [space]        The space to search
-U, --url <url>            The base URL for Confluence

The page is a search term use quotes if the page name has spaces. optional user and password, leave blank if not required.

The base url is in the form http://confluencehost.tld

Example:

conf-cli -u myuser -p mypass -U http://docs.myco.com 'conf-cli utility'

Outputs the page html and images in a subdirectory named after the page ID in confluence.

Installation

Download and from the directory with the package.json run.

npm install
npm link

Link to a directory on your path if requred, or run localy with ./

Licence

(c) 2017 Moogsoft Inc. Licence MIT, see LICENCE.

About

Small cl tool to pull a page from Confluence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%