A command line interface for angular-gettext-tools
npm install angular-gettext-cli -g for global using or
npm install angular-gettext-cli --save-dev for local.
angular-gettext-cli --files "./app/*.+(js|html)" --dest ./extract.pot --marker-name i18n
--files- a glob pattern to specify files to process--dest- path to file to write extracted words.--marker-name- a name of marker to search in js-files (see angular-gettext-tools)
angular-gettext-cli --compile --files 'test/*.po' --dest test/output.js --format javascript --module gettext-test
--files- a glob pattern to specify files to process--dest- path to file to write extracted words.--format-javascriptorjson--module- For thejavascriptoutput format, the angular module name to use in the output file.
For more options, see angular-gettext-tools.