Giter Club home page Giter Club logo

pasquale-cli's Introduction

pasquale-cli

$ npm install -g pasquale-cli

Usage

Checks for spelling errors.
Usage: node ./bin/pasquale --lang=[lang] [text]

Examples:
  node ./bin/pasquale --lang=pt-br istu é errado    Finds errors in pt-br text
  node ./bin/pasquale --default=pt-br               Sets default lang to pt-br


Options:
  -l, --lang              The language to check spelling against                                                                                            [default: "en-ca"]
  -t, --text              The text to have spelling checked against
  -r, --reporter          Specifies which reporter to use                                                                                                   [default: "json"]
  -d, --default           Specifies which lang to be set as default. This
			  one will be saved at the config file
  -i, --ignored           Refers to the list of ignored words. If no other
			  args, lists the ignored words. It might be
			  used with --add, --remove.
  --ri, --remove-ignored  Removes a word from the list of ignored ones

Config

It is also possible to determine a default lang and other config stuff. For doing that, a .pasqualerc is needed. Its structure must complain the follow:

{
	"default": "pt-br",
	"ignored": ["palavra1", "palavra2", "palavra3"]
	}
}

Languages

The supported languages (downloadable from pasquale-inc repo) are the following:

name key
Català
Croatian
Dansk
Deutsch de
Deutsch (AT) de-at
Deutsch (CH) de-ch
Deutsch (DE) de-de
Czech cs
Ελληνικά
English (Canadian) en-ca
English (British) en-gb
Español es
Français fr
Galego
Italiano
Lietuvių
Magyar
Nederlands
Norwegian (Bokmål)
Norwegian (Nynorsk)
Română
Polski
Português (do Brasil) pt-br
Português (Europeu) pt
Русский
Slovenian
Slovensky
Svenska
Tiếng Việt
Українська

pasquale-cli's People

Watchers

James Cloos avatar  avatar

pasquale-cli's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.