Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fchimpan/gpc

Repository files navigation

A tool to generate pages in confluence(gpc)

install

brew

brew tap fchimpan/gpc
brew install fchimpan/gpc/gpc

go install

go install github.com/fchimpan/gpc

setup

  1. make $HOME/.gpc directiry
mkdir ~/.gpc
  1. create credentials file
vim ~/.gpc/credentials
[default]
confluence_api_token = <your api token>
confluence_email = <confluence user email>
  1. create config file
vim ~/.gpc/config
[<profile name>]
space_key = confluence space key to generate page 
domain = confluence domain. e.g. https://`domain`.atlassian.net/wiki/home 
parent = parent page ID # optional. If parent is not set, the page is generated directly under the space

usage

param type value
-b, --body bool If this flag is set, page body can be entered
-c, --credentials string chose credential. default: [default]
--debug bool debug flag
% gpc 
✔ dev # select parent
Page title: page title # input page title
# page generation succeeded!!
# title: page title
# https://my-domain.atlassian.net/wiki/spaces/my-space/pages/xxxx

About

a cli tool to generate pages in confluence

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

Languages

AltStyle によって変換されたページ (->オリジナル) /