Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 3.31 KB

File metadata and controls

58 lines (46 loc) · 3.31 KB

markfluence

Publish Markdown to Confluence

Synopsis

markfluence publishes and manipulates Confluence pages from Markdown files.

It needs a site URL, a username, and an API token, and for a scoped token a cloud ID: CONFLUENCE_URL, CONFLUENCE_USERNAME, CONFLUENCE_TOKEN, and CONFLUENCE_CLOUD_ID. markfluence reads each one from the first of these places that has it:

  1. the file that --env-file names
  2. the environment variable
  3. your credentials file, ~/.config/markfluence/credentials

The URL and the token must come from the same place, the cloud ID is read only from the place that gives the URL, and there is no flag for any of these. To set up the credentials file, run markfluence credentials-init, or see https://github.com/mozilla/markfluence/blob/main/docs/credentials.md

markfluence [flags]

Options

  -d, --debug             Print debug details, such as each retry decision
      --env-file string   File to read credentials from, before the environment and your credentials file
  -h, --help              help for markfluence
      --json              Write JSON, and no human output. A result goes to stdout. A fatal error goes to stderr as a JSON error object
      --no-color          Print output with no color
      --root string       Documentation root for every file. The default is the nearest directory above each file that has a markfluence.yaml, or the directory of the file if there is none

SEE ALSO