0.0.8 • Published 8 years ago

reagan v0.0.8

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Reagan

Reagan is a tool for verifying that code samples embedded in a markdown document are in sync with the GitHub-hosted source files.

npm i -g reagan

Reagan will scan markdown file for code blocks preceded by a special HTML comments:

    <!-- source: http://github.com/your/repo/file.code#L10-L20 -->

    ```language
        some cool snippet
    ```

Reagan will compare the code block to the lines identified in the comment. By default, Reagan will scan the current directory for files with an md extension.

  Usage: reagan [options]

  Options:

    -h, --help             output usage information
    -V, --version          output the version number
    -f, --folder [folder]  the folder to search
    -i, --include [glob]   the pattern to match (defaults to **/*.md)
    -u, --update           attempt to update local files
    --strict               enforce exact matches
0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago