Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

Dereckson on "[Plugin: Polylang] WP-CLI support"

$
0
0

WP-CLI is a command line interface for WordPress to ease both system administration and DevOps work.

On the DevOps side, I'm working on a CI project where I wish to deploy and configure a WordPress engine from a unique Makefile.

I so added support for your Polylang plug-in to WP-CLI:

* WP-CLI support: https://github.com/dereckson/polylang/compare/feature%2Fapi...feature%2Fcli?expand=1
* API new methods for this support: https://github.com/dereckson/polylang/compare/feature;api?expand=1

The goal is to be able to add languages with the default configuration with commands like:
wp polylang language add en
wp polylang language add nl
wp polylang language add fr

This is my work in progress of my afternoon work, for comments and code review.

I'm soon intending to offer a more formal patch, when the language delete command.

Are you interested to implement this CLI support in your plugin?

https://wordpress.org/plugins/polylang/


Viewing all articles
Browse latest Browse all 11471

Trending Articles