WordPress Command Line Interface WP-CLI

This page is an overview of the WP-CLI. It is very powerful tool to be able to generate content truely at the speed of thought.

I found this plugin that allows me to add indexes to to pages or posts. I am going to use this to create these organizational pages about different categories of information.

Posts Regarding The WP-CLI

    Installing WP-CLI

    Here is the main website for the WP-CLI

    First get the Phar file

    Now check that it is working:

    Now check that WP-CLI was successfully installed

    Updating WP-CLI

    This is more complicated than it should be

    I can not stress enough how frustrating it has been to figure out this issue.
    You should not assume that the $PATH variable set by the currently logged in
    user is the one that the sudoers are going to use. The “sudo” command uses
    a “secure_path”. You can see the two paths like this:

    I have found this control over the sudo path to be extreamly useful so I made a alias for it like this:

    Now every time you want to make sure “sudo” uses your current path all you need to do is use “mysudo” like this:

    This is the WP-CLI_Index-Page.txt Id has PostId of 5123