[![Build Status](https://travis-ci.org/BYK/jsxgettext.png)](https://travis-ci.org/BYK/jsxgettext)

# jsxgettext

A node module with a CLI that extracts gettext strings from JavaScript and EJS files. It also extracts comments that begin with "L10n:" when they appear above a `gettext` call.

## Install

    npm install jsxgettext
    
Or from source:

    git clone https://github.com/zaach/jsxgettext.git
    cd jsxgettext
    npm link

## Use

    $ jsxgettext

    input argument is required

    Usage: jsxgettext <input>... [options]

    input     input files

    Options:
       -o FILE, --output FILE     write output to specified file
       -p DIR, --output-dir DIR   output files will be placed in directory DIR
       -v, --version              print version and exit
       -k WORD, --keyword WORD    additional keyword to be looked for
       -j, --join-existing        join messages with existing file
       -L NAME, --language NAME   recognise the specified language (JavaScript, EJS, Jinja)
       -s, --sort                 Sort the extracted strings alphabetically when generating the pot file



[![Build Status](https://travis-ci.org/zaach/jsxgettext.png)](https://travis-ci.org/zaach/jsxgettext)

# jsxgettext

A node module with a CLI that extracts gettext strings from JavaScript and EJS files. It also extracts comments that begin with "L10n:" when they appear above a `gettext` call.

## Install

    npm install jsxgettext
    
Or from source:

    git clone https://github.com/zaach/jsxgettext.git
    cd jsxgettext
    npm link

## Use

    $ jsxgettext

    input argument is required

    Usage: jsxgettext <input>... [options]

    input     input files

    Options:
       -o FILE, --output FILE     write output to specified file
       -p DIR, --output-dir DIR   output files will be placed in directory DIR
       -v, --version              print version and exit
       -k WORD, --keyword WORD    additional keyword to be looked for
       -j, --join-existing        join messages with existing file
       -L NAME, --language NAME   recognise the specified language (JavaScript, EJS, Jinja)
       -s, --sort                 Sort the extracted strings alphabetically when generating the pot file



Add TravisCI support for zaach/jsxgettext
Add TravisCI support for zaach/jsxgettext
