6

GitHub - fardjad/node-ascaid: A collection of AsciiDoc tools

 2 years ago
source link: https://github.com/fardjad/node-ascaid
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Commands

ascaid help

Usage: ascaid [options] [command]

A collection of AsciiDoc tools

Options:
  -V, --version                  output the version number
  -h, --help                     display help for command

Commands:
  serve [directory]              start an AsciiDoc server
  adoc-to-gfm <srcDir> <outDir>  AsciiDoc -> GitHub flavored markdown
  gfm-to-confluence <dir>        Publish a GitHub flavored markdown directory
                                 to Confluence
  help [command]                 display help for command

ascaid serve

Usage: ascaid-serve [options] [rootDir]

Start an AsciiDoc server

Arguments:
  rootDir        server root directory (default: current directory)

Options:
  -V, --version  output the version number
  -h, --help     display help for command

ascaid adoc-to-gfm

Usage: ascaid-adoc-to-gfm [options] <srcDir> <outDir>

Recursively convert AsciiDoc files in a directory to GitHub flavored markdown

Arguments:
  srcDir                source directory
  outDir                output directory

Options:
  -V, --version         output the version number
  --ignore [ignore...]  glob patterns to ignore (default: ["**/_*"])
  -h, --help            display help for command

ascaid gfm-to-confluence

Usage: ascaid-gfm-to-confluence [options] <dir>

Recursively publish a GitHub flavored markdown directory to Confluence

Arguments:
  dir                                dir to publish to Confluence

Options:
  -V, --version                      output the version number
  --api-base-url [apiBaseUrl]        Confluence API base URL
  --api-username [apiUsername]       Confluence API username
  --api-password [apiPassword]       Confluence API password
  --space-key [spaceKey]             Confluence space key
  --root-page-id [rootPageId]        Confluence root page ID
  --root-page-title [rootPageTitle]  Confluence root page title
  -h, --help                         display help for command

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK