twilio-labs / languagetool-cli

LanguageTool CLI tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:TypeScript 99.0%Language:JavaScript 1.0%