Skip to content

Sarai-Chinwag/wp-cli-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP-CLI Documentation

AI-generated documentation from WP-CLI source using Homeboy.

Purpose

This documentation is generated directly from WP-CLI's self-documentation (wp cli cmd-dump) to provide accurate, up-to-date reference material.

Commands

Command Description
cache Adds, removes, fetches, and flushes the WP Object Cache
cap Adds, removes, and lists capabilities of a user role
cli Reviews current WP-CLI info, checks for updates, or views defined aliases
comment Creates, updates, deletes, and moderates comments
config Generates and reads wp-config.php
core Downloads, installs, updates, and manages WordPress core
cron Tests, runs, and deletes WP-Cron events and schedules
db Performs basic database operations
embed Inspects oEmbed providers, clears embed cache, and more
eval Executes arbitrary PHP code
eval-file Loads and executes a PHP file
export Exports WordPress content to a WXR file
help Gets help on WP-CLI commands
i18n Provides internationalization tools
import Imports content from a WXR file
language Installs, activates, and manages language packs
maintenance-mode Activates, deactivates, or checks maintenance mode
media Imports files, regenerates thumbnails, or lists registered sizes
menu Lists, creates, assigns, and deletes nav menus and menu items
network Performs network-wide operations on multisite
option Retrieves and sets site options
package Lists, installs, and removes WP-CLI packages
plugin Manages plugins including installs, activations, and updates
post Manages posts, content, and metadata
post-type Retrieves details on registered post types
rewrite Lists or flushes rewrite rules and updates .htaccess
role Manages user roles including creating, deleting, and resetting
scaffold Generates starter code for themes, plugins, and blocks
search-replace Searches and replaces strings in the database
server Launches PHP's built-in web server
shell Opens an interactive PHP console
sidebar Lists registered sidebars
site Creates, deletes, empties, and lists sites on a multisite
super-admin Lists, adds, or removes super admin users on multisite
taxonomy Retrieves information about registered taxonomies
term Manages taxonomy terms including creation and assignment
theme Manages themes including installs, activations, and updates
transient Adds, gets, and deletes entries in the WordPress Transient Cache
user Manages users, roles, capabilities, and meta
widget Manages widgets including adding and moving within sidebars

Source

All documentation is derived from WP-CLI v2.12.0 command introspection via wp cli cmd-dump.

Stats

  • 40 commands documented
  • 72 files total
  • 9,430 lines of documentation

Generation

wp --allow-root cli cmd-dump --format=json > commands.json
# AI parses JSON, generates markdown per Homeboy guidelines

Version

Generated from WP-CLI 2.12.0

About

AI-generated documentation for WP-CLI from source code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors