Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the config command consistent by providing "list" and "get". #14

Closed
wants to merge 1 commit into from

Commits on May 31, 2017

  1. Make the config command consistent by provideing "list" and "get".

    To make the `wp config` command more consistent with the way the rest of the commands behave, and to add needed functionality, I renamed the current `wp config get` command (which displays a list of all values) into `wp config list`, and added a new `wp config get <key>` command to retrieve the value of a specific key.
    
    This allows one to use something like `wp config get table_prefix` to quickly get one particular value.
    schlessera committed May 31, 2017
    Configuration menu
    Copy the full SHA
    afa5f39 View commit details
    Browse the repository at this point in the history