2017 © Pedro Peláez
 

wp-cli-package wp-cli-plugins-api

WP-CLI command for Plugins API

image

miya0001/wp-cli-plugins-api

WP-CLI command for Plugins API

  • Thursday, October 20, 2016
  • by miya0001
  • Repository
  • 1 Watchers
  • 2 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

wp plugins-api <sub-command>

Build Status, (*1)

This is a WP-CLI command for getting plugin information form WordPress.org Plugin API., (*2)

  • wp plugins-api author <author> - Get a list of plugins for a specific author.
  • wp plugins-api browse <browse> - Get a list of plugins for popular/new/updated/top-rated.
  • wp plugins-api info <slug> - Get a plugin information for a specific plugin.
$ wp plugins-api author miyauchi
+---------------------------------+---------+--------+----------+--------+-------------+
| name                            | version | tested | requires | rating | downloaded  |
+---------------------------------+---------+--------+----------+--------+-------------+
| Nginx Cache Controller          | 3.1.0   | 4.0.1  | 3.4      | 100.0  |      33,423 |
| Simple Map                      | 2.2.0   | 4.0.1  | 3.3      | 100.0  |      61,506 |
| Content Bootstrap               | 0.7.0   | 4.0.1  | 3.4      | 100.0  |       2,715 |
| oEmbed Gist                     | 1.6.1   | 4.0.1  | 3.5.2    | 100.0  |       3,733 |
| Posts from a Category Widget    | 1.0.1   | 4.0.1  | 3.4      | 100.0  |       8,784 |
| Child Pages Shortcode           | 1.9.1   | 4.0.1  | 3.4      |  95.6  |      43,401 |
| WP Total Hacks                  | 1.9.0   | 4.0.1  | 3.5      |  99.4  |     173,521 |
+---------------------------------+---------+--------+----------+--------+-------------+
30 plugins. 449,591 downloads.

System Requirements

  • PHP >=5.3
  • wp-cli >=0.17.0

Installing

Installing without composer.

$ mkdir ~/.wp-cli
$ touch ~/.wp-cli/config.yml
$ mkdir ~/.wp-cli/commands

Then install., (*3)

$ cd ~/.wp-cli/commands
$ git clone git@github.com:miya0001/wp-plugins-api.git

Then edit the ~/.wp-cli/config.yml file so that it looks like following., (*4)

require:
  - commands/wp-plugins-api/cli.php

Installing with composer.

  1. Setting up the package index
  2. php composer.phar require miya0001/wp-plugins-api=dev-master

See documnentation., (*5)

https://github.com/wp-cli/wp-cli/wiki/Community-Packages, (*6)

How to develop

$ git clone git@github.com:miya0001/wp-plugins-api.git
$ composer install

Then create or edit the ~/.wp-cli/config.yml file so that it looks like this:, (*7)

require:
- /path/to/wp-plugins-api/cli.php

Functional tests

Initialize the testing environment locally., (*8)

$ WP_CLI_BIN_DIR=/tmp/wp-cli-phar WP_CLI_CONFIG_PATH=/tmp/wp-cli-phar/config.yml bash bin/install-package-tests.sh

Then run the tests., (*9)

$ WP_CLI_BIN_DIR=/tmp/wp-cli-phar WP_CLI_CONFIG_PATH=/tmp/wp-cli-phar/config.yml vendor/bin/behat

See also:, (*10)

The Versions

20/10 2016

dev-master

9999999-dev http://github.com/miya0001/wp-cli-plugins-api

WP-CLI command for Plugins API

  Sources   Download

GPL-2.0

The Development Requires

20/10 2016

1.0.1

1.0.1.0 http://github.com/miya0001/wp-cli-plugins-api

WP-CLI command for Plugins API

  Sources   Download

GPL-2.0

The Development Requires

02/12 2014

1.0

1.0.0.0 http://github.com/miya0001/wp-cli-plugins-api

WP-CLI command for Plugins API

  Sources   Download

GPL-2.0

The Development Requires