Want more timely Centmin Mod News Updates?
Become a Member

Beta Branch update addons/wp-cli.sh add wp-cli packages

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 15, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    30,613
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,304
    Local Time:
    8:51 PM
    Nginx 1.13.x
    MariaDB 5.5
  2. eva2000

    eva2000 Administrator Staff Member

    30,613
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,304
    Local Time:
    8:51 PM
    Nginx 1.13.x
    MariaDB 5.5
    so update via centmin.sh menu option 23 submenu option 2 and then run

    either

    if you don't currently have wp-cli installed
    Code (Text):
    addons/wp-cli.sh install
    

    or if you do
    Code (Text):
    addons/wp-cli.sh update
    

    example update output
    Code (Text):
    addons/wpcli.sh update                   
    updating...
    -------------------------------------------------------------
    install wp-cli https://github.com/eriktorsner/wp-checksum
    Installing package eriktorsner/wp-checksum (dev-master)
    Updating /root/.wp-cli/packages/composer.json to require the package...
    Using Composer to install the package...
    ---
    Loading composer repositories with package information
    Updating dependencies
    Resolving dependencies through SAT
    Dependency resolution completed in 0.171 seconds
    Analyzed 3729 packages to resolve dependencies
    Analyzed 84210 rules to resolve dependencies
    Package operations: 2 installs, 0 updates, 0 removals
    Installs: pimple/pimple:dev-master 93ec38f, eriktorsner/wp-checksum:dev-master b33125e
     - Installing pimple/pimple (dev-master 93ec38f)
     - Installing eriktorsner/wp-checksum (dev-master b33125e)
    Writing lock file
    Generating autoload files
    ---
    Success: Package installed.
    -------------------------------------------------------------
    install wp-cli https://github.com/markri/wp-sec
    Installing package markri/wp-sec (dev-master)
    Updating /root/.wp-cli/packages/composer.json to require the package...
    Using Composer to install the package...
    ---
    Loading composer repositories with package information
    Updating dependencies
    Resolving dependencies through SAT
    Dependency resolution completed in 0.084 seconds
    Analyzed 3736 packages to resolve dependencies
    Analyzed 84229 rules to resolve dependencies
    Package operations: 1 install, 0 updates, 0 removals
    Installs: markri/wp-sec:dev-master 1739874
     - Installing markri/wp-sec (dev-master 1739874)
    Writing lock file
    Generating autoload files
    ---
    Success: Package installed.
    -------------------------------------------------------------
    update wp-cli packages
    Using Composer to update packages...
    ---
    Loading composer repositories with package information
    Updating dependencies
    Resolving dependencies through SAT
    Dependency resolution completed in 0.089 seconds
    Analyzed 3737 packages to resolve dependencies
    Analyzed 84231 rules to resolve dependencies
    Nothing to install or update
    Generating autoload files
    ---
    Success: Packages updated.
    -------------------------------------------------------------
    update wp-cli
    2017-05-15 04:54:34 URL:https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar [5235728/5235728] -> "/usr/bin/wp" [1]
    PHP binary:     /usr/local/bin/php
    PHP version:    7.0.19
    php.ini used:   /usr/local/lib/php.ini
    WP-CLI root dir:        phar://wp-cli.phar
    WP-CLI packages dir:    /root/.wp-cli/packages/
    WP-CLI global config:
    WP-CLI project config:
    WP-CLI version: 1.1.0
    
    -------------------------------------------------------------
    wp-cli update completed
    Read http://wp-cli.org/ for full usage info
    -------------------------------------------------------------
    


    package lists
    Code (Text):
    wp package list
    +-------------------------+------------------+------------+--------+----------------+
    | name                    | authors          | version    | update | update_version |
    +-------------------------+------------------+------------+--------+----------------+
    | eriktorsner/wp-checksum | Erik Torsner     | dev-master | none   |                |
    | markri/wp-sec           | Marco de Krijger | dev-master | none   |                |
    +-------------------------+------------------+------------+--------+----------------+
     
    • Like Like x 2