brew tap fchimpan/gpc
brew install fchimpan/gpc/gpc
go install
go install github.com/fchimpan/gpc
setup
make $HOME/.gpc directiry
mkdir ~/.gpc
create credentials file
vim ~/.gpc/credentials
[default]
confluence_api_token = <your api token>
confluence_email = <confluence user email>
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