@twilio-labs/languagetool-cli

1.5.0 • Public • Published

LanguageTool CLI

This is a tool that will scan the specified Markdown documents with LanguageTool and then report on any issues found. The output format is also Markdown so that the results can be included in a GitHub pull request comment.

Installation

npm install -g @twilio-labs/languagetool-cli

Usage

languagetool-cli file1.md file2.md ... fileN.md

Example:

languagetool-cli sample.md

Redirect output to a file:

languagetool-cli sample.md > output.md

Configuration

If you would like to use a different URL for the LanguageTool service, set the LT_URL environment variable like so:

export LT_URL="http://localhost:8081/v2/check"

Dependencies (5)

Dev Dependencies (13)

Package Sidebar

Install

npm i @twilio-labs/languagetool-cli

Weekly Downloads

212

Version

1.5.0

License

MIT

Unpacked Size

108 kB

Total Files

46

Last publish

Collaborators

  • twilio-labs-ci