Gulp Wp Pot Save

Gulp plugin to generate pot file for WordPress plugins and themes

Project README

gulp-wp-pot

Information

npm version GitHub Workflow Status Scrutinizer Code Quality Code Coverage

Package gulp-wp-pot
Description Gulp wrapper for wp-pot. Generates pot files for WordPress plugins and themes.

Like my work and want to say thanks?

Do it here:
Buy Me A Coffee

Install

$ npm install --save-dev gulp-wp-pot

Example usage with Gulp

var gulp = require('gulp');
var wpPot = require('gulp-wp-pot');

gulp.task('default', function () {
    return gulp.src('src/*.php')
        .pipe(wpPot( {
            domain: 'domain',
            package: 'Example project'
        } ))
        .pipe(gulp.dest('file.pot'));
});

wpPot({options})

See available options in the wp-pot readme, https://github.com/wp-pot/wp-pot#options
All options except src and writeFile is passed to wp-pot.

License

MIT © Rasmus Bengtsson | Initial work by Willy Bahuaud

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

Open Source Agenda Badge

Open Source Agenda Rating