Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NAME
- wp
- DESCRIPTION
- Manage WordPress through the command-line.
- SYNOPSIS
- wp <command>
- SUBCOMMANDS
- admin-username Manage administrator username.
- cli Reviews current WP-CLI info, checks for updates, or
- views defined aliases.
- comment Creates, updates, deletes, and moderates comments.
- config Generates and reads the wp-config.php file.
- config-settings Manage config settings command
- core Downloads, installs, updates, and manages a WordPress
- installation.
- cron Tests, runs, and deletes WP-Cron events; manages WP-Cron
- schedules.
- db Performs basic database operations using credentials
- stored in wp-config.php.
- db-prefix Manage database prefix.
- help Gets help on WP-CLI, or on a specific command.
- instance Make init
- language Installs, activates, and manages language packs.
- maintenance-mode Activates, deactivates or checks the status of the
- maintenance mode of a site.
- menu Lists, creates, assigns, and deletes the active theme's
- navigation menus.
- network Perform network-wide operations.
- option Retrieves and sets site options, including plugin and
- WordPress settings.
- pingbacks Manage config settings command
- plugin Manages plugins, including installs, activations, and
- updates.
- post Manages posts, content, and meta.
- post-type Retrieves details on the site's registered post types.
- release Get release information
- rewrite Lists or flushes the site's rewrite rules, updates the
- permalink structure.
- search-replace Searches/replaces strings in the database.
- security-keys Manage WordPress config's security keys
- shortcode Manage shortcodes
- site Creates, deletes, empties, moderates, and lists one or
- more sites on a multisite installation.
- sitemap Manage sitemap
- taxonomy Retrieves information about registered taxonomies.
- term Manages taxonomy terms and term meta, with create,
- delete, and list commands.
- theme Manages themes, including installs, activations, and
- updates.
- user Manages users, along with their roles, capabilities, and
- meta.
- wpt-asset Extends for Plugin_Command \ Theme_Command
- wpt-cron
- GLOBAL PARAMETERS
- --path=<path>
- Path to the WordPress files.
- --url=<url>
- Pretend request came from given URL. In multisite, this argument is how
- the target site is specified.
- --ssh=[<scheme>:][<user>@]<host|container>[:<port>][<path>]
- Perform operation against a remote server over SSH (or a container using
- scheme of "docker", "docker-compose", "vagrant").
- --http=<http>
- Perform operation against a remote WordPress installation over HTTP.
- --user=<id|login|email>
- Set the WordPress user.
- --skip-plugins[=<plugins>]
- Skip loading all plugins, or a comma-separated list of plugins. Note:
- mu-plugins are still loaded.
- --skip-themes[=<themes>]
- Skip loading all themes, or a comma-separated list of themes.
- --skip-packages
- Skip loading all installed packages.
- --require=<path>
- Load PHP file before running the command (may be used more than once).
- --[no-]color
- Whether to colorize the output.
- --debug[=<group>]
- Show all PHP errors and add verbosity to WP-CLI output. Built-in groups
- include: bootstrap, commandfactory, and help.
- --prompt[=<assoc>]
- Prompt the user to enter values for all command arguments, or a subset
- specified as comma-separated values.
- --quiet
- Suppress informational messages.
- Run 'wp help <command>' to get more information on a specific command.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement