Skip to content

Latest commit

 

History

History
 
 

cli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

License Version Downloads

@lingui/cli

lingui command line tools for manipulating message catalogues

@lingui/cli is part of LinguiJS. See the documentation for all information, tutorials and examples.

Installation

npm install --global @lingui/cli
# yarn global add @lingui/cli

Note: If you don't wist to install package globally, it works locally as well. However, you need either run it from node_modules/.bin/lingui or add it to your package.json:

{
  "scripts": {
    "add-locale": "lingui add-locale",
    "extract": "lingui extract",
    "compile": "lingui compile"
  }
}

Then you can use:

npm run add-locale -- en cs
npm run extract
npm run compile

Usage

See the tutorial or reference documenation.

License

This package is licensed under MIT license.