Skip to content

twilio-labs/languagetool-cli

Repository files navigation

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"

About

LanguageTool CLI tool

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •