Wp Pot Cli Save

Run wp-pot script via cli

Project README

GitHub Workflow Status

Generate pot file for WordPress plugins and themes

Like my work and want to say thanks?

Do it here:
Buy Me A Coffee

Install

$ npm install --global wp-pot-cli

Usage

$ wp-pot --help

  Generate pot-files for WordPress localization

  Usage
    $ wp-pot <options>

  Options
    --bug-report, -b Header with URL for reporting translation bugs
    --comment-keyword, -c Comment keyword
    --dest-file, -o Destination file
    --domain, -d Domain to retrieve the translated text
    --last-translator, -l Name and email address of the last translator (ex: John Doe <[email protected]>)
    --no-file-paths, Don't write file paths to pot file
    --relative-to, -r Path to folder that file comments should be relative to
    --src, -s  Source files, multiple sources is allowed
    --team, -t Name and email address of the translation team (ex: Team <[email protected]>)
    --package, -p Package name
    --write-file, -w Write file

  Examples
    $ wp-pot --src 'src/*.php' --src 'extras/*.php' 

License

MIT © Rasmus Bengtsson

Open Source Agenda is not affiliated with "Wp Pot Cli" Project. README Source: wp-pot/wp-pot-cli
Stars
37
Open Issues
10
Last Commit
3 weeks ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating