1. gh-annotate(1)
  2. gh-annotate(1)

NAME

gh-annotate - Add GitHub links to Markdown files

USAGE

gh-annotate file
... | gh-annotate > outfile

DESCRIPTION

Adds GitHub links to Markdown files. Perfect for maintaining changelog files and other Markdown artifacts.

Running gh-annotate(1) on a file will perform the following things:

It Is idempotent, so running (and re-running) it on a file should have no side effects.

OPTIONS

file

The file to operate on. If provided, it will be written to in place.

-h, --help

Displays the help screen.

--version

Displays version information.

INSTALLATION

gh-annotate(1) is available via npm as gh-annotate.

npm install -g gh-annotate

EXAMPLE

Given this file:

$ cat CHANGELOG.md

  ## v0.8.2

  * Fix blabberdupes (@manilajs, #2)
  * Improve dapperdonks (@mashupgarage, #8)

Run it, and you get this:

$ gh-annotate CHANGELOG.md
$ cat CHANGELOG.md

## v0.8.2

* Fix blabberdupes ([@manilajs], [#2])
* Improve dapperdonks ([@mashupgarage], [#8])

gh-annotate (c) 2015+, Rico Sta. Cruz. Released under the MIT License. Authored and maintained by Rico Sta. Cruz with help from contributors.

  1. @rstacruz
  2. April 2015
  3. gh-annotate(1)