terminal
cmdhub adapter

WordPress CLI
for cmdhub.

WordPress resources through the cmdhub CLI.

lock Auth: local_config
Quick Install cmdhub get wordpress

data_object Agent Contract

Agents should start with auth/status and discovery commands, inspect schemas before composition, and treat commands marked as mutating as state-changing operations.

Output

Use human output for normal reads, `--json` for scripting or complete structured fields, and `--jsonl` for upstream pipe inputs.

Auth

local_config

Refs

Prefer list/search, then short refs or piped JSONL. Use `resolve` to inspect cached refs.

Schemas

Use `wordpress schema` and `catalog.json` to inspect fields, flags, examples, and side effects.

terminal Command Reference

Generated from source. Global flags apply to all commands.

Global Flags

--json bool Emit one JSON wrapper/debug payload
--jsonl bool Emit pipeable pc.cli.v1 JSONL item/meta records
--output, -o string Compatibility output mode: json|jsonl. Prefer --json for wrapper/debug or --jsonl for pipes
--view string = summary View mode: summary|full
--profile string = default Config/auth profile
--config string Config path override
--quiet, -q bool Suppress non-essential diagnostics
--debug bool Enable debug diagnostics
--limit int = 50 Maximum items to emit
--page-size int = 50 Requested upstream page size
--cursor string Continuation cursor
--no-paginate bool Fetch only one page
--version, -v bool Print version information
wordpress application-password Inspect or revoke the current CLI Application Password
#cmd-wordpress-application-password discovery safe
$ wordpress application-password --help
wordpress application-password get Inspect current Application Password metadata
#cmd-wordpress-application-password-get discovery safe
--site string WordPress site URL for this command
$ wordpress application-password get
$ wordpress application-password get --json
wordpress application-password revoke Revoke the current CLI Application Password remotely
#cmd-wordpress-application-password-revoke discovery safe dry-run
--current bool Revoke only the current CLI Application Password
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--yes bool Confirm remote revoke
$ wordpress application-password revoke --current --yes
$ wordpress application-password revoke --help
wordpress auth Manage WordPress authentication
#cmd-wordpress-auth discovery safe
$ wordpress auth --help
wordpress auth login Authenticate with a WordPress Application Password
#cmd-wordpress-auth-login mutates state
Authenticate to a WordPress site with a username and WordPress Application Password. Create it in wp-admin under Users > Profile > Application Passwords with the application name shown by this command. Do not paste a normal WordPress account password, WordPress.com password, plugin API key, cookie, nonce, database password, FTP/SFTP password, SSH key, or WP-CLI alias. The Application Password is stored through the shared cmdhub credential backend. WordPress.com OAuth is a separate mode and is not configured in this build.
--application-name string = cmdhub wordpress Application Password name to create in wp-admin
--password-stdin bool read the WordPress Application Password from stdin
--site string WordPress site URL, for example https://example.com
--username string WordPress username for the Application Password
--wordpress-com bool use WordPress.com OAuth for a WordPress.com or Jetpack-connected site
$ printf '%s' "$WORDPRESS_APPLICATION_PASSWORD" | wordpress auth login --site https://example.com --username editor --password-stdin
$ wordpress auth login --help
$ wordpress auth login --site https://example.com --username editor --application-name "cmdhub wordpress"
wordpress auth logout Remove stored WordPress credentials
#cmd-wordpress-auth-logout mutates state
Delete the local Application Password for the active profile. Add –revoke-remote –yes to revoke the current WordPress Application Password remotely before local cleanup.
--revoke-remote bool revoke the current WordPress Application Password remotely before local cleanup
--yes bool Confirm remote Application Password revoke
$ wordpress auth login --site https://example.com --username editor
$ wordpress auth logout
$ wordpress auth logout --help
$ wordpress auth logout --revoke-remote --yes
wordpress auth refresh Validate stored WordPress credentials
#cmd-wordpress-auth-refresh mutates state
Validate the stored Application Password. WordPress Application Passwords do not issue refresh tokens.
$ wordpress auth refresh
$ wordpress auth refresh --help
$ wordpress auth status
wordpress auth status Show WordPress auth status
#cmd-wordpress-auth-status discovery safe
Show whether the active profile has a configured WordPress site and a valid stored Application Password.
$ wordpress auth status
$ wordpress auth status --help
$ wordpress auth status --json
wordpress auth whoami Show the current WordPress user
#cmd-wordpress-auth-whoami discovery safe
Canonical identity command for WordPress. Call the REST API as the current profile and show the authenticated user; use this instead of user me, account me, or wordpress me.
$ wordpress auth status
$ wordpress auth whoami
$ wordpress auth whoami --help
$ wordpress auth whoami --json
wordpress autosave Work with WordPress autosave records
#cmd-wordpress-autosave discovery safe
$ wordpress autosave --help
wordpress autosave apply Apply a WordPress autosave
#cmd-wordpress-autosave-apply discovery safe dry-run
--content string Content
--content-file string Read content from file or - for stdin
--dry-run bool Preview without changing WordPress state
--page string Parent page ref or ID
--post string Parent post ref or ID
--site string WordPress site URL for this command
--title string Title
--yes bool Confirm apply
$ wordpress autosave apply --help
$ wordpress autosave apply --post po1 --content-file ./post.md --yes
wordpress autosave create Create a WordPress autosave
#cmd-wordpress-autosave-create mutates state dry-run
--content string Content
--content-file string Read content from file or - for stdin
--dry-run bool Preview without changing WordPress state
--page string Parent page ref or ID
--post string Parent post ref or ID
--site string WordPress site URL for this command
--title string Title
--yes bool Confirm apply
$ wordpress autosave create --help
$ wordpress autosave create --post po1 --title "cmdhub autosave"
wordpress autosave get Get a WordPress autosave
#cmd-wordpress-autosave-get discovery safe
--page string Parent page ref or ID
--post string Parent post ref or ID
--site string WordPress site URL for this command
$ wordpress autosave get
$ wordpress autosave get as1
wordpress autosave list List WordPress autosave records
#cmd-wordpress-autosave-list discovery safe
--page string Parent page ref or ID
--post string Parent post ref or ID
--site string WordPress site URL for this command
$ wordpress autosave list
$ wordpress autosave list --post po1 --limit 10
wordpress block Inspect WordPress block records
#cmd-wordpress-block discovery safe
$ wordpress schema block
$ wordpress schema block.list --out
$ wordpress capabilities
wordpress block create Create a WordPress block
#cmd-wordpress-block-create mutates state dry-run
--category stringArray = [] Category ref or ID; repeatable
--content string Content body
--content-file string Read content from file or - for stdin
--content-format string = html Content format: html, markdown, or plain
--date string Publish date
--dry-run bool Preview without changing WordPress state
--excerpt string Excerpt
--excerpt-file string Read excerpt from file or - for stdin
--featured-media string Featured media ref or ID
--parent string Parent ref or ID
--site string WordPress site URL for this command
--slug string Slug
--status string = draft WordPress status
--tag stringArray = [] Tag ref or ID; repeatable
--timezone string Date timezone
--title string Title
--title-file string Read title from file or - for stdin
--yes bool Confirm create-time publish or schedule
$ wordpress block create --help
$ wordpress block create --title "cmdhub-wordpress draft" --content-file ./post.md --content-format markdown --status draft
$ wordpress block create --title "cmdhub-wordpress draft" --content-file ./post.md --status draft
wordpress block delete Permanently delete a WordPress block
#cmd-wordpress-block-delete mutates state dry-run
--dry-run bool Preview without changing WordPress state
--force bool Permanently delete instead of trashing
--site string WordPress site URL for this command
--yes bool Confirm permanent deletion
$ wordpress block delete --help
$ wordpress block delete b1 --force --yes
wordpress block get Get a WordPress block
#cmd-wordpress-block-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress block get
$ wordpress block get b1
$ wordpress block list --jsonl | wordpress block get
wordpress block list List WordPress block records
#cmd-wordpress-block-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress block list
$ wordpress block list --limit 10
$ wordpress post get po1
$ wordpress post list --limit 10
wordpress block restore Restore a trashed WordPress block
#cmd-wordpress-block-restore discovery safe dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--status string = draft Restored status: draft, pending, private, or publish
--yes bool Confirm the restore operation
$ wordpress block restore --help
$ wordpress block restore b1 --yes
wordpress block trash Move a WordPress block to trash
#cmd-wordpress-block-trash mutates state dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--yes bool Confirm the trash operation
$ wordpress block trash --help
$ wordpress block trash b1 --yes
wordpress block update Update a WordPress block
#cmd-wordpress-block-update mutates state dry-run
--category stringArray = [] Category ref or ID; repeatable
--content string Content body
--content-file string Read content from file or - for stdin
--content-format string = html Content format: html, markdown, or plain
--date string Publish date
--dry-run bool Preview without changing WordPress state
--excerpt string Excerpt
--excerpt-file string Read excerpt from file or - for stdin
--featured-media string Featured media ref or ID
--parent string Parent ref or ID
--site string WordPress site URL for this command
--slug string Slug
--status string WordPress status
--tag stringArray = [] Tag ref or ID; repeatable
--timezone string Date timezone
--title string Title
--title-file string Read title from file or - for stdin
--yes bool Confirm publishing, scheduling, or trash status changes
$ wordpress block update --help
$ wordpress block update b1 --title "Updated title"
wordpress block-type Inspect WordPress block-type records
#cmd-wordpress-block-type discovery safe
$ wordpress schema block-type
$ wordpress schema block-type.list --out
$ wordpress capabilities
wordpress block-type get Get a WordPress block-type
#cmd-wordpress-block-type-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress block-type get
$ wordpress block-type get bt1
$ wordpress block-type list --jsonl | wordpress block-type get
wordpress block-type list List WordPress block-type records
#cmd-wordpress-block-type-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress block-type list
$ wordpress block-type list --limit 10
$ wordpress post get po1
$ wordpress post list --limit 10
wordpress capabilities Describe capabilities
#cmd-wordpress-capabilities discovery safe
--section string Show one capability section: scopes, schemas, or commands
$ wordpress capabilities --help
wordpress category Inspect WordPress category records
#cmd-wordpress-category discovery safe
$ wordpress schema category
$ wordpress schema category.list --out
$ wordpress capabilities
wordpress category create Create a WordPress category
#cmd-wordpress-category-create mutates state dry-run
--description string Description
--dry-run bool Preview without changing WordPress state
--name string Name
--parent string Parent ref or ID
--site string WordPress site URL for this command
--slug string Slug
--yes bool Confirm the mutation
$ wordpress category create --help
$ wordpress category create --name cmdhub-wordpress-demo
wordpress category delete Delete a WordPress category
#cmd-wordpress-category-delete mutates state dry-run
--dry-run bool Preview without changing WordPress state
--force bool Force permanent deletion
--site string WordPress site URL for this command
--yes bool Confirm deletion
$ wordpress category delete --help
$ wordpress category delete cat1 --force --yes
wordpress category get Get a WordPress category
#cmd-wordpress-category-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress category get
$ wordpress category get cat1
$ wordpress category list --jsonl | wordpress category get
wordpress category list List WordPress category records
#cmd-wordpress-category-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress category list
$ wordpress category list --limit 10
$ wordpress post get po1
$ wordpress post list --limit 10
wordpress category update Update a WordPress category
#cmd-wordpress-category-update mutates state dry-run
--description string Description
--dry-run bool Preview without changing WordPress state
--name string Name
--site string WordPress site URL for this command
--slug string Slug
$ wordpress category update --help
$ wordpress category update cat1 --title "Updated title"
wordpress comment Inspect WordPress comment records
#cmd-wordpress-comment mutates state
$ wordpress schema comment
$ wordpress schema comment.list --out
$ wordpress capabilities
wordpress comment approve Approve a WordPress comment
#cmd-wordpress-comment-approve discovery safe dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--yes bool Confirm comment moderation
$ wordpress comment approve --help
$ wordpress comment approve cm1 --yes
wordpress comment create Create a WordPress comment
#cmd-wordpress-comment-create mutates state dry-run
--author-email string Comment author email
--author-name string Comment author name
--author-url string Comment author URL
--body string Comment body
--body-file string Read comment body from file or - for stdin
--dry-run bool Preview without changing WordPress state
--post string Post ref or ID
--site string WordPress site URL for this command
--yes bool Confirm comment creation
$ wordpress comment create --help
$ wordpress comment create --post po1 --body "cmdhub-wordpress comment" --yes
wordpress comment delete Delete a WordPress comment
#cmd-wordpress-comment-delete mutates state dry-run
--dry-run bool Preview without changing WordPress state
--force bool Permanently delete instead of trashing
--site string WordPress site URL for this command
--yes bool Confirm deletion
$ wordpress comment delete --help
$ wordpress comment delete cm1 --force --yes
wordpress comment get Get a WordPress comment
#cmd-wordpress-comment-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress comment get
$ wordpress comment get cm1
$ wordpress comment list --jsonl | wordpress comment get
wordpress comment hold Hold a WordPress comment
#cmd-wordpress-comment-hold discovery safe dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--yes bool Confirm comment moderation
$ wordpress comment hold --help
$ wordpress comment hold cm1 --yes
wordpress comment list List WordPress comment records
#cmd-wordpress-comment-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress comment get cm1
$ wordpress comment list
$ wordpress comment list --limit 10
$ wordpress comment list --post po1 --limit 20
wordpress comment reply Reply a WordPress comment
#cmd-wordpress-comment-reply mutates state dry-run
--author-email string Comment author email
--author-name string Comment author name
--author-url string Comment author URL
--body string Comment body
--body-file string Read comment body from file or - for stdin
--dry-run bool Preview without changing WordPress state
--post string Post ref or ID
--site string WordPress site URL for this command
--yes bool Confirm comment creation
$ wordpress comment reply --help
$ wordpress comment reply cm1 --body "Thanks" --yes
wordpress comment restore Restore a WordPress comment
#cmd-wordpress-comment-restore discovery safe dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--yes bool Confirm comment moderation
$ wordpress comment restore --help
$ wordpress comment restore cm1 --yes
wordpress comment spam Spam a WordPress comment
#cmd-wordpress-comment-spam discovery safe dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--yes bool Confirm comment moderation
$ wordpress comment spam --help
$ wordpress comment spam cm1 --yes
wordpress comment trash Trash a WordPress comment
#cmd-wordpress-comment-trash mutates state dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--yes bool Confirm comment moderation
$ wordpress comment trash --help
$ wordpress comment trash cm1 --yes
wordpress comment unspam Unspam a WordPress comment
#cmd-wordpress-comment-unspam discovery safe dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--yes bool Confirm comment moderation
$ wordpress comment unspam --help
$ wordpress comment unspam cm1 --yes
wordpress comment update Update a WordPress comment body
#cmd-wordpress-comment-update mutates state dry-run
--body string Comment body
--body-file string Read comment body from file or - for stdin
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
$ wordpress comment update --help
$ wordpress comment update cm1 --body "Updated cmdhub comment"
wordpress config Inspect local configuration
#cmd-wordpress-config discovery safe
$ wordpress config --help
wordpress config explain Explain resolved configuration
#cmd-wordpress-config-explain discovery safe
$ wordpress config explain --help
wordpress content Inspect WordPress content records
#cmd-wordpress-content discovery safe
$ wordpress schema content
$ wordpress schema content.list --out
$ wordpress capabilities
wordpress content create Create a WordPress content
#cmd-wordpress-content-create mutates state dry-run
--category stringArray = [] Category ref or ID; repeatable
--content string Content body
--content-file string Read content from file or - for stdin
--content-format string = html Content format: html, markdown, or plain
--date string Publish date
--dry-run bool Preview without changing WordPress state
--excerpt string Excerpt
--excerpt-file string Read excerpt from file or - for stdin
--featured-media string Featured media ref or ID
--parent string Parent ref or ID
--site string WordPress site URL for this command
--slug string Slug
--status string = draft WordPress status
--tag stringArray = [] Tag ref or ID; repeatable
--timezone string Date timezone
--title string Title
--title-file string Read title from file or - for stdin
--type string Custom post type REST base, for example book
--yes bool Confirm create-time publish or schedule
$ wordpress content create --help
$ wordpress content create --title "cmdhub-wordpress draft" --content-file ./post.md --content-format markdown --status draft
$ wordpress content create --type book --title "cmdhub-wordpress draft" --content-file ./post.md --status draft
wordpress content delete Permanently delete a WordPress content
#cmd-wordpress-content-delete mutates state dry-run
--dry-run bool Preview without changing WordPress state
--force bool Permanently delete instead of trashing
--site string WordPress site URL for this command
--type string Custom post type REST base, for example book
--yes bool Confirm permanent deletion
$ wordpress content delete --help
$ wordpress content delete ct1 --force --yes
$ wordpress content delete ct1 --type book --force --yes
wordpress content get Get a WordPress content
#cmd-wordpress-content-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
--type string Custom post type REST base, for example book
$ wordpress content get
$ wordpress content get ct1
$ wordpress content get ct1 --type book
$ wordpress content list --jsonl | wordpress content get
wordpress content list List WordPress content records
#cmd-wordpress-content-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress content get ct1 --type book
$ wordpress content list
$ wordpress content list --type book --limit 10
wordpress content restore Restore a trashed WordPress content
#cmd-wordpress-content-restore discovery safe dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--status string = draft Restored status: draft, pending, private, or publish
--type string Custom post type REST base, for example book
--yes bool Confirm the restore operation
$ wordpress content restore --help
$ wordpress content restore ct1 --type book --yes
$ wordpress content restore ct1 --yes
wordpress content trash Move a WordPress content to trash
#cmd-wordpress-content-trash mutates state dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--type string Custom post type REST base, for example book
--yes bool Confirm the trash operation
$ wordpress content trash --help
$ wordpress content trash ct1 --type book --yes
$ wordpress content trash ct1 --yes
wordpress content update Update a WordPress content
#cmd-wordpress-content-update mutates state dry-run
--category stringArray = [] Category ref or ID; repeatable
--content string Content body
--content-file string Read content from file or - for stdin
--content-format string = html Content format: html, markdown, or plain
--date string Publish date
--dry-run bool Preview without changing WordPress state
--excerpt string Excerpt
--excerpt-file string Read excerpt from file or - for stdin
--featured-media string Featured media ref or ID
--parent string Parent ref or ID
--site string WordPress site URL for this command
--slug string Slug
--status string WordPress status
--tag stringArray = [] Tag ref or ID; repeatable
--timezone string Date timezone
--title string Title
--title-file string Read title from file or - for stdin
--type string Custom post type REST base, for example book
--yes bool Confirm publishing, scheduling, or trash status changes
$ wordpress content update --help
$ wordpress content update ct1 --title "Updated title"
$ wordpress content update ct1 --type book --title "Updated title"
wordpress doctor Run WordPress diagnostics for auth, connectivity, permissions, and REST scope
#cmd-wordpress-doctor discovery safe
$ wordpress doctor
$ wordpress doctor --help
$ wordpress doctor --json
wordpress mcp Run the MCP server
#cmd-wordpress-mcp discovery safe

Run a stdio Model Context Protocol server for this adapter.

The server exposes read-only resource commands by default. Mutating commands are listed only when explicitly allowed with –allow and remain gated by the command contract safety class.

--allow stringArray = [] Allow mutating command keys such as gmail.message.archive or gmail.message.label.*
--allow-dangerous bool Allow --allow wildcards to include destructive or sends_external commands
--concurrency int Maximum concurrent MCP subprocesses
--max-output int64 = 0 Maximum stdout/stderr bytes captured per MCP command
--print-config bool Print MCP tool configuration and exit
--timeout duration = 0s Per-command MCP subprocess timeout, for example 45s or 2m
$ mcp
$ mcp --print-config
wordpress media Inspect WordPress media records
#cmd-wordpress-media discovery safe
$ wordpress schema media
$ wordpress schema media.list --out
$ wordpress capabilities
wordpress media attach Attach WordPress media
#cmd-wordpress-media-attach discovery safe dry-run
--dry-run bool Preview without changing WordPress state
--post string Post ref or ID
--site string WordPress site URL for this command
--yes bool Confirm media attach
$ wordpress media attach --help
$ wordpress media attach m1 --post po1 --yes
wordpress media delete Permanently delete a WordPress media
#cmd-wordpress-media-delete mutates state dry-run
--dry-run bool Preview without changing WordPress state
--force bool Permanently delete instead of trashing
--site string WordPress site URL for this command
--yes bool Confirm permanent deletion
$ wordpress media delete --help
$ wordpress media delete m1 --force --yes
wordpress media detach Detach WordPress media
#cmd-wordpress-media-detach discovery safe dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--yes bool Confirm media detach
$ wordpress media detach --help
$ wordpress media detach m1 --yes
wordpress media download Download WordPress media to a local file
#cmd-wordpress-media-download discovery safe
--output-file string Local file path to write
--site string WordPress site URL for this command
$ wordpress media download --help
$ wordpress media download m1 --output-file ./image.jpg
$ wordpress media list --jsonl | wordpress media download --output-file ./image.jpg
wordpress media get Get a WordPress media
#cmd-wordpress-media-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress media get
$ wordpress media get m1
$ wordpress media list --jsonl | wordpress media get
wordpress media list List WordPress media records
#cmd-wordpress-media-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress media download m1 --output-file ./image.jpg
$ wordpress media list
$ wordpress media list --limit 10
$ wordpress media list --mime-type image/jpeg
wordpress media update Update WordPress media metadata
#cmd-wordpress-media-update mutates state dry-run
--alt-text string Media alt text
--caption string Media caption
--description string Media description
--dry-run bool Preview without changing WordPress state
--post string Attach to post ref or ID
--site string WordPress site URL for this command
--title string Media title
$ wordpress media update --help
$ wordpress media update m1 --alt-text "Updated alt text"
wordpress media upload Upload media to WordPress
#cmd-wordpress-media-upload mutates state dry-run
--alt-text string Media alt text
--caption string Media caption
--description string Media description
--dry-run bool Preview without uploading
--file string Local media file path
--post string Attach to post ref or ID after upload
--site string WordPress site URL for this command
--title string Media title
$ wordpress media upload --file ./hero.jpg --alt-text "Product hero screenshot"
$ wordpress media upload --file ./hero.jpg --title "Hero image" --alt-text "Product hero screenshot"
$ wordpress media upload --help
wordpress menu Inspect WordPress menu records
#cmd-wordpress-menu discovery safe
$ wordpress schema menu
$ wordpress schema menu.list --out
$ wordpress capabilities
wordpress menu create Create a WordPress menu
#cmd-wordpress-menu-create mutates state dry-run
--description string Description
--dry-run bool Preview without changing WordPress state
--name string Name
--parent string Parent ref or ID
--site string WordPress site URL for this command
--slug string Slug
--yes bool Confirm the mutation
$ wordpress menu create --help
$ wordpress menu create --name cmdhub-wordpress-demo
wordpress menu delete Delete a WordPress menu
#cmd-wordpress-menu-delete mutates state dry-run
--dry-run bool Preview without changing WordPress state
--force bool Force permanent deletion
--site string WordPress site URL for this command
--yes bool Confirm deletion
$ wordpress menu delete --help
$ wordpress menu delete mn1 --force --yes
wordpress menu get Get a WordPress menu
#cmd-wordpress-menu-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress menu get
$ wordpress menu get mn1
$ wordpress menu list --jsonl | wordpress menu get
wordpress menu list List WordPress menu records
#cmd-wordpress-menu-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress menu list
$ wordpress menu list --limit 10
$ wordpress post get po1
$ wordpress post list --limit 10
wordpress menu update Update a WordPress menu
#cmd-wordpress-menu-update mutates state dry-run
--description string Description
--dry-run bool Preview without changing WordPress state
--name string Name
--site string WordPress site URL for this command
--slug string Slug
--yes bool Confirm the mutation
$ wordpress menu update --help
$ wordpress menu update mn1 --title "Updated title"
wordpress menu-item Inspect WordPress menu-item records
#cmd-wordpress-menu-item discovery safe
$ wordpress schema menu-item
$ wordpress schema menu-item.list --out
$ wordpress capabilities
wordpress menu-item create Create a WordPress menu-item
#cmd-wordpress-menu-item-create mutates state dry-run
--dry-run bool Preview without changing WordPress state
--label string Menu item label alias for title
--menu string Menu ref or ID
--page string Page ref or ID
--parent string Parent menu-item ref or ID
--site string WordPress site URL for this command
--title string Menu item title
--url string Custom URL
--yes bool Confirm the mutation
$ wordpress menu-item create --help
$ wordpress menu-item create --menu mn1 --page pg1 --yes
wordpress menu-item delete Delete a WordPress menu-item
#cmd-wordpress-menu-item-delete mutates state dry-run
--dry-run bool Preview without changing WordPress state
--force bool Force permanent deletion
--site string WordPress site URL for this command
--yes bool Confirm deletion
$ wordpress menu-item delete --help
$ wordpress menu-item delete mi1 --force --yes
wordpress menu-item get Get a WordPress menu-item
#cmd-wordpress-menu-item-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress menu-item get
$ wordpress menu-item get mi1
$ wordpress menu-item list --jsonl | wordpress menu-item get
wordpress menu-item list List WordPress menu-item records
#cmd-wordpress-menu-item-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress menu-item list
$ wordpress menu-item list --limit 10
$ wordpress post get po1
$ wordpress post list --limit 10
wordpress menu-item update Update a WordPress menu-item
#cmd-wordpress-menu-item-update mutates state dry-run
--dry-run bool Preview without changing WordPress state
--label string Menu item label alias for title
--menu string Menu ref or ID
--page string Page ref or ID
--parent string Parent menu-item ref or ID
--site string WordPress site URL for this command
--title string Menu item title
--url string Custom URL
--yes bool Confirm the mutation
$ wordpress menu-item update --help
$ wordpress menu-item update mi1 --menu mn1 --title "Support" --yes
$ wordpress menu-item update mi1 --menu mn1 --title "Updated title" --yes
wordpress navigation Inspect WordPress navigation records
#cmd-wordpress-navigation discovery safe
$ wordpress schema navigation
$ wordpress schema navigation.list --out
$ wordpress capabilities
wordpress navigation create Create a WordPress navigation
#cmd-wordpress-navigation-create mutates state dry-run
--category stringArray = [] Category ref or ID; repeatable
--content string Content body
--content-file string Read content from file or - for stdin
--content-format string = html Content format: html, markdown, or plain
--date string Publish date
--dry-run bool Preview without changing WordPress state
--excerpt string Excerpt
--excerpt-file string Read excerpt from file or - for stdin
--featured-media string Featured media ref or ID
--parent string Parent ref or ID
--site string WordPress site URL for this command
--slug string Slug
--status string = draft WordPress status
--tag stringArray = [] Tag ref or ID; repeatable
--timezone string Date timezone
--title string Title
--title-file string Read title from file or - for stdin
--yes bool Confirm navigation create
$ wordpress navigation create --help
$ wordpress navigation create --title "cmdhub-wordpress draft" --content-file ./post.md --content-format markdown --status draft --yes
$ wordpress navigation create --title "cmdhub-wordpress draft" --content-file ./post.md --status draft --yes
wordpress navigation delete Permanently delete a WordPress navigation
#cmd-wordpress-navigation-delete mutates state dry-run
--dry-run bool Preview without changing WordPress state
--force bool Permanently delete instead of trashing
--site string WordPress site URL for this command
--yes bool Confirm permanent deletion
$ wordpress navigation delete --help
$ wordpress navigation delete nav1 --force --yes
wordpress navigation get Get a WordPress navigation
#cmd-wordpress-navigation-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress navigation get
$ wordpress navigation get nav1
$ wordpress navigation list --jsonl | wordpress navigation get
wordpress navigation list List WordPress navigation records
#cmd-wordpress-navigation-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress navigation list
$ wordpress navigation list --limit 10
$ wordpress post get po1
$ wordpress post list --limit 10
wordpress navigation restore Restore a trashed WordPress navigation
#cmd-wordpress-navigation-restore discovery safe dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--status string = draft Restored status: draft, pending, private, or publish
--yes bool Confirm the restore operation
$ wordpress navigation restore --help
$ wordpress navigation restore nav1 --yes
wordpress navigation trash Move a WordPress navigation to trash
#cmd-wordpress-navigation-trash mutates state dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--yes bool Confirm the trash operation
$ wordpress navigation trash --help
$ wordpress navigation trash nav1 --yes
wordpress navigation update Update a WordPress navigation
#cmd-wordpress-navigation-update mutates state dry-run
--category stringArray = [] Category ref or ID; repeatable
--content string Content body
--content-file string Read content from file or - for stdin
--content-format string = html Content format: html, markdown, or plain
--date string Publish date
--dry-run bool Preview without changing WordPress state
--excerpt string Excerpt
--excerpt-file string Read excerpt from file or - for stdin
--featured-media string Featured media ref or ID
--parent string Parent ref or ID
--site string WordPress site URL for this command
--slug string Slug
--status string WordPress status
--tag stringArray = [] Tag ref or ID; repeatable
--timezone string Date timezone
--title string Title
--title-file string Read title from file or - for stdin
--yes bool Confirm navigation changes
$ wordpress navigation update --help
$ wordpress navigation update nav1 --title "Updated title"
wordpress page Inspect WordPress page records
#cmd-wordpress-page discovery safe
$ wordpress schema page
$ wordpress schema page.list --out
$ wordpress capabilities
wordpress page clone Clone a WordPress page as a draft
#cmd-wordpress-page-clone discovery safe dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--status string = draft Clone status
--title string Clone title
$ wordpress page clone --help
$ wordpress page clone pg1 --title "cmdhub-wordpress copy"
wordpress page create Create a WordPress page
#cmd-wordpress-page-create mutates state dry-run
--category stringArray = [] Category ref or ID; repeatable
--content string Content body
--content-file string Read content from file or - for stdin
--content-format string = html Content format: html, markdown, or plain
--date string Publish date
--dry-run bool Preview without changing WordPress state
--excerpt string Excerpt
--excerpt-file string Read excerpt from file or - for stdin
--featured-media string Featured media ref or ID
--menu-order int Page menu order
--parent string Parent ref or ID
--site string WordPress site URL for this command
--slug string Slug
--status string = draft WordPress status
--tag stringArray = [] Tag ref or ID; repeatable
--timezone string Date timezone
--title string Title
--title-file string Read title from file or - for stdin
--yes bool Confirm create-time publish or schedule
$ wordpress page create --help
$ wordpress page create --title "cmdhub-wordpress draft" --content-file ./post.md --content-format markdown --status draft
$ wordpress page create --title "cmdhub-wordpress draft" --content-file ./post.md --status draft
wordpress page delete Permanently delete a WordPress page
#cmd-wordpress-page-delete mutates state dry-run
--dry-run bool Preview without changing WordPress state
--force bool Permanently delete instead of trashing
--site string WordPress site URL for this command
--yes bool Confirm permanent deletion
$ wordpress page delete --help
$ wordpress page delete pg1 --force --yes
wordpress page get Get a WordPress page
#cmd-wordpress-page-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress page get
$ wordpress page get pg1
$ wordpress page list --jsonl | wordpress page get
wordpress page list List WordPress page records
#cmd-wordpress-page-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress page get pg1 --view full
$ wordpress page list
$ wordpress page list --limit 10
$ wordpress page list --parent 0 --limit 20
wordpress page publish Publish a WordPress page
#cmd-wordpress-page-publish discovery safe dry-run
--date string Scheduled publish date
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--timezone string Date timezone
--yes bool Confirm the status mutation
$ wordpress page publish --help
$ wordpress page publish pg1 --yes
wordpress page restore Restore a trashed WordPress page
#cmd-wordpress-page-restore discovery safe dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--status string = draft Restored status: draft, pending, private, or publish
--yes bool Confirm the restore operation
$ wordpress page restore --help
$ wordpress page restore pg1 --yes
wordpress page schedule Schedule a WordPress page
#cmd-wordpress-page-schedule discovery safe dry-run
--date string Scheduled publish date
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--timezone string Date timezone
--yes bool Confirm the status mutation
$ wordpress page schedule --help
$ wordpress page schedule pg1 --date 2026-06-01T09:00:00Z --yes
$ wordpress page schedule pg1 --yes
wordpress page trash Move a WordPress page to trash
#cmd-wordpress-page-trash mutates state dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--yes bool Confirm the trash operation
$ wordpress page trash --help
$ wordpress page trash pg1 --yes
wordpress page update Update a WordPress page
#cmd-wordpress-page-update mutates state dry-run
--category stringArray = [] Category ref or ID; repeatable
--content string Content body
--content-file string Read content from file or - for stdin
--content-format string = html Content format: html, markdown, or plain
--date string Publish date
--dry-run bool Preview without changing WordPress state
--excerpt string Excerpt
--excerpt-file string Read excerpt from file or - for stdin
--featured-media string Featured media ref or ID
--menu-order int Page menu order
--parent string Parent ref or ID
--site string WordPress site URL for this command
--slug string Slug
--status string WordPress status
--tag stringArray = [] Tag ref or ID; repeatable
--timezone string Date timezone
--title string Title
--title-file string Read title from file or - for stdin
--yes bool Confirm publishing, scheduling, or trash status changes
$ wordpress page update --help
$ wordpress page update pg1 --title "Updated title"
wordpress plugin Inspect WordPress plugin records
#cmd-wordpress-plugin discovery safe
$ wordpress schema plugin
$ wordpress schema plugin.list --out
$ wordpress capabilities
wordpress plugin get Get a WordPress plugin
#cmd-wordpress-plugin-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress plugin get
$ wordpress plugin get pl1
$ wordpress plugin list --jsonl | wordpress plugin get
wordpress plugin list List WordPress plugin records
#cmd-wordpress-plugin-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress plugin list
$ wordpress plugin list --limit 10
$ wordpress post get po1
$ wordpress post list --limit 10
wordpress post Inspect WordPress post records
#cmd-wordpress-post discovery safe
$ wordpress schema post
$ wordpress schema post.list --out
$ wordpress capabilities
wordpress post clone Clone a WordPress post as a draft
#cmd-wordpress-post-clone discovery safe dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--status string = draft Clone status
--title string Clone title
$ wordpress post clone --help
$ wordpress post clone po1 --title "cmdhub-wordpress copy"
wordpress post create Create a WordPress post
#cmd-wordpress-post-create mutates state dry-run
--category stringArray = [] Category ref or ID; repeatable
--content string Content body
--content-file string Read content from file or - for stdin
--content-format string = html Content format: html, markdown, or plain
--date string Publish date
--dry-run bool Preview without changing WordPress state
--excerpt string Excerpt
--excerpt-file string Read excerpt from file or - for stdin
--featured-media string Featured media ref or ID
--parent string Parent ref or ID
--site string WordPress site URL for this command
--slug string Slug
--status string = draft WordPress status
--tag stringArray = [] Tag ref or ID; repeatable
--timezone string Date timezone
--title string Title
--title-file string Read title from file or - for stdin
--yes bool Confirm create-time publish or schedule
$ wordpress post create --help
$ wordpress post create --title "cmdhub-wordpress draft" --content-file ./post.md --content-format markdown --status draft
$ wordpress post create --title "cmdhub-wordpress draft" --content-file ./post.md --status draft
wordpress post delete Permanently delete a WordPress post
#cmd-wordpress-post-delete mutates state dry-run
--dry-run bool Preview without changing WordPress state
--force bool Permanently delete instead of trashing
--site string WordPress site URL for this command
--yes bool Confirm permanent deletion
$ wordpress post delete --help
$ wordpress post delete po1 --force --yes
wordpress post get Get a WordPress post
#cmd-wordpress-post-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress post get
$ wordpress post get po1
$ wordpress post list --jsonl | wordpress post get
wordpress post list List WordPress post records
#cmd-wordpress-post-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress post get po1
$ wordpress post list
$ wordpress post list --limit 10
wordpress post publish Publish a WordPress post
#cmd-wordpress-post-publish discovery safe dry-run
--date string Scheduled publish date
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--timezone string Date timezone
--yes bool Confirm the status mutation
$ wordpress post publish --help
$ wordpress post publish po1 --yes
wordpress post restore Restore a trashed WordPress post
#cmd-wordpress-post-restore discovery safe dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--status string = draft Restored status: draft, pending, private, or publish
--yes bool Confirm the restore operation
$ wordpress post restore --help
$ wordpress post restore po1 --yes
wordpress post schedule Schedule a WordPress post
#cmd-wordpress-post-schedule discovery safe dry-run
--date string Scheduled publish date
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--timezone string Date timezone
--yes bool Confirm the status mutation
$ wordpress post schedule --help
$ wordpress post schedule po1 --date 2026-06-01T09:00:00Z --yes
$ wordpress post schedule po1 --yes
wordpress post search Search WordPress post records
#cmd-wordpress-post-search discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--query string Search text
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress post search
$ wordpress post search --query "release notes"
$ wordpress post search --query cmdhub-wordpress
$ wordpress post search --query onboarding --jsonl | wordpress post get
wordpress post trash Move a WordPress post to trash
#cmd-wordpress-post-trash mutates state dry-run
--dry-run bool Preview without changing WordPress state
--site string WordPress site URL for this command
--yes bool Confirm the trash operation
$ wordpress post trash --help
$ wordpress post trash po1 --yes
wordpress post update Update a WordPress post
#cmd-wordpress-post-update mutates state dry-run
--category stringArray = [] Category ref or ID; repeatable
--content string Content body
--content-file string Read content from file or - for stdin
--content-format string = html Content format: html, markdown, or plain
--date string Publish date
--dry-run bool Preview without changing WordPress state
--excerpt string Excerpt
--excerpt-file string Read excerpt from file or - for stdin
--featured-media string Featured media ref or ID
--parent string Parent ref or ID
--site string WordPress site URL for this command
--slug string Slug
--status string WordPress status
--tag stringArray = [] Tag ref or ID; repeatable
--timezone string Date timezone
--title string Title
--title-file string Read title from file or - for stdin
--yes bool Confirm publishing, scheduling, or trash status changes
$ wordpress post update --help
$ wordpress post update po1 --title "Updated title"
wordpress profile Manage provider profiles
#cmd-wordpress-profile discovery safe
$ wordpress profile --help
wordpress profile create Create an unauthenticated provider profile
#cmd-wordpress-profile-create mutates state
$ wordpress profile create --help
wordpress profile delete Delete a local provider profile
#cmd-wordpress-profile-delete mutates state
$ wordpress profile delete --help
wordpress profile list List provider profiles
#cmd-wordpress-profile-list discovery safe
$ wordpress profile list --help
wordpress profile rename Rename a local provider profile
#cmd-wordpress-profile-rename discovery safe
$ wordpress profile rename --help
wordpress profile use Set the default provider profile
#cmd-wordpress-profile-use mutates state
$ wordpress profile use --help
wordpress resolve Resolve a local ref, short id, or URL alias
#cmd-wordpress-resolve discovery safe
$ wordpress resolve --help
$ wordpress resolve <ref>
wordpress revision Work with WordPress revision records
#cmd-wordpress-revision discovery safe
$ wordpress revision --help
wordpress revision delete Delete a WordPress revision
#cmd-wordpress-revision-delete mutates state dry-run
--dry-run bool Preview without changing WordPress state
--force bool Force delete
--page string Parent page ref or ID
--post string Parent post ref or ID
--site string WordPress site URL for this command
--yes bool Confirm deletion
$ wordpress revision delete --help
$ wordpress revision delete rv1 --force --yes
wordpress revision get Get a WordPress revision
#cmd-wordpress-revision-get discovery safe
--page string Parent page ref or ID
--post string Parent post ref or ID
--site string WordPress site URL for this command
$ wordpress revision get
$ wordpress revision get rv1
wordpress revision list List WordPress revision records
#cmd-wordpress-revision-list discovery safe
--page string Parent page ref or ID
--post string Parent post ref or ID
--site string WordPress site URL for this command
$ wordpress revision list
$ wordpress revision list --post po1 --limit 10
wordpress revision restore Restore selected fields from a WordPress revision
#cmd-wordpress-revision-restore discovery safe dry-run
--dry-run bool Preview without changing WordPress state
--fields string Comma-separated fields: title,content,excerpt
--page string Parent page ref or ID
--post string Parent post ref or ID
--site string WordPress site URL for this command
--yes bool Confirm revision restore
$ wordpress revision restore --help
$ wordpress revision restore rv1 --fields title,content --yes
wordpress route Inspect WordPress REST routes
#cmd-wordpress-route discovery safe
$ wordpress route --help
wordpress route get Get a WordPress REST route
#cmd-wordpress-route-get discovery safe
--site string WordPress site URL for this command
$ wordpress route get
$ wordpress route get /wp/v2/posts
$ wordpress route get rt1
wordpress route list List WordPress REST routes
#cmd-wordpress-route-list discovery safe
--site string WordPress site URL for this command
$ wordpress route list
$ wordpress route list --site https://example.com
wordpress schema Emit schema hints
#cmd-wordpress-schema discovery safe

Show command-level input and output schemas.

Schema references use resource.action shape, such as post.list or profile.create.

Use schema for the machine contract. Use capabilities for the operations inventory and –help for human onboarding.

Output modes: –json emits one wrapper/debug payload. –jsonl emits pipeable pc.cli.v1 item/meta records.

--in bool Show input schema
--input bool Show input schema
--out bool Show output schema
$ wordpress schema
$ wordpress schema --help
$ wordpress schema post.list --out
$ wordpress schema profile.create --in
wordpress setting Inspect and update allowlisted WordPress settings
#cmd-wordpress-setting discovery safe
$ wordpress setting --help
wordpress setting get Get a WordPress setting
#cmd-wordpress-setting-get discovery safe
--site string WordPress site URL for this command
$ wordpress setting get
$ wordpress setting get set1
wordpress setting list List WordPress settings
#cmd-wordpress-setting-list discovery safe
--site string WordPress site URL for this command
$ wordpress setting list
$ wordpress setting list --limit 20
wordpress setting update Update an allowlisted WordPress setting
#cmd-wordpress-setting-update mutates state dry-run
--dry-run bool Preview without changing WordPress state
--name string Allowlisted setting name
--site string WordPress site URL for this command
--value string Setting value
--yes bool Confirm setting update
$ wordpress setting update --help
$ wordpress setting update --name title --value "Cmdhub Test Site" --dry-run
wordpress site Inspect and configure the active WordPress site
#cmd-wordpress-site discovery safe
$ wordpress site --help
wordpress site configure Configure a local WordPress site profile
#cmd-wordpress-site-configure discovery safe
--url string WordPress site URL, for example https://example.com
$ wordpress site configure --help
$ wordpress site configure --url https://example.com
wordpress site get Inspect the configured WordPress REST site
#cmd-wordpress-site-get discovery safe
--site string WordPress site URL for this command
$ wordpress site get
$ wordpress site get --site https://example.com
$ wordpress site get s1
wordpress site health Inspect WordPress Site Health checks
#cmd-wordpress-site-health discovery safe
$ wordpress site health --help
wordpress site health get Get a WordPress Site Health check
#cmd-wordpress-site-health-get discovery safe
--site string WordPress site URL for this command
$ wordpress site health get
$ wordpress site health get background-updates --view full
$ wordpress site health get h1 --view full
wordpress site health list List WordPress Site Health checks
#cmd-wordpress-site-health-list discovery safe
--site string WordPress site URL for this command
$ wordpress site health get h1 --view full
$ wordpress site health list
wordpress status Inspect WordPress status records
#cmd-wordpress-status discovery safe
$ wordpress schema status
$ wordpress schema status.list --out
$ wordpress capabilities
wordpress status get Get a WordPress status
#cmd-wordpress-status-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress status get
$ wordpress status get st1
$ wordpress status list --jsonl | wordpress status get
wordpress status list List WordPress status records
#cmd-wordpress-status-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress post get po1
$ wordpress post list --limit 10
$ wordpress status list
$ wordpress status list --limit 10
wordpress tag Inspect WordPress tag records
#cmd-wordpress-tag discovery safe
$ wordpress schema tag
$ wordpress schema tag.list --out
$ wordpress capabilities
wordpress tag create Create a WordPress tag
#cmd-wordpress-tag-create mutates state dry-run
--description string Description
--dry-run bool Preview without changing WordPress state
--name string Name
--parent string Parent ref or ID
--site string WordPress site URL for this command
--slug string Slug
--yes bool Confirm the mutation
$ wordpress tag create --help
$ wordpress tag create --name cmdhub-wordpress-demo
wordpress tag delete Delete a WordPress tag
#cmd-wordpress-tag-delete mutates state dry-run
--dry-run bool Preview without changing WordPress state
--force bool Force permanent deletion
--site string WordPress site URL for this command
--yes bool Confirm deletion
$ wordpress tag delete --help
$ wordpress tag delete tag1 --force --yes
wordpress tag get Get a WordPress tag
#cmd-wordpress-tag-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress tag get
$ wordpress tag get tag1
$ wordpress tag list --jsonl | wordpress tag get
wordpress tag list List WordPress tag records
#cmd-wordpress-tag-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress post get po1
$ wordpress post list --limit 10
$ wordpress tag list
$ wordpress tag list --limit 10
wordpress tag update Update a WordPress tag
#cmd-wordpress-tag-update mutates state dry-run
--description string Description
--dry-run bool Preview without changing WordPress state
--name string Name
--site string WordPress site URL for this command
--slug string Slug
$ wordpress tag update --help
$ wordpress tag update tag1 --title "Updated title"
wordpress taxonomy Inspect WordPress taxonomy records
#cmd-wordpress-taxonomy discovery safe
$ wordpress schema taxonomy
$ wordpress schema taxonomy.list --out
$ wordpress capabilities
wordpress taxonomy get Get a WordPress taxonomy
#cmd-wordpress-taxonomy-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress taxonomy get
$ wordpress taxonomy get tx1
$ wordpress taxonomy list --jsonl | wordpress taxonomy get
wordpress taxonomy list List WordPress taxonomy records
#cmd-wordpress-taxonomy-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress post get po1
$ wordpress post list --limit 10
$ wordpress taxonomy list
$ wordpress taxonomy list --limit 10
wordpress template Inspect WordPress template records
#cmd-wordpress-template discovery safe
$ wordpress schema template
$ wordpress schema template.list --out
$ wordpress capabilities
wordpress template get Get a WordPress template
#cmd-wordpress-template-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress template get
$ wordpress template get tpl1
$ wordpress template list --jsonl | wordpress template get
wordpress template list List WordPress template records
#cmd-wordpress-template-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress post get po1
$ wordpress post list --limit 10
$ wordpress template list
$ wordpress template list --limit 10
wordpress template-part Inspect WordPress template-part records
#cmd-wordpress-template-part discovery safe
$ wordpress schema template-part
$ wordpress schema template-part.list --out
$ wordpress capabilities
wordpress template-part get Get a WordPress template-part
#cmd-wordpress-template-part-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress template-part get
$ wordpress template-part get tp1
$ wordpress template-part list --jsonl | wordpress template-part get
wordpress template-part list List WordPress template-part records
#cmd-wordpress-template-part-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress post get po1
$ wordpress post list --limit 10
$ wordpress template-part list
$ wordpress template-part list --limit 10
wordpress theme Inspect WordPress theme records
#cmd-wordpress-theme discovery safe
$ wordpress schema theme
$ wordpress schema theme.list --out
$ wordpress capabilities
wordpress theme get Get a WordPress theme
#cmd-wordpress-theme-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress theme get
$ wordpress theme get th1
$ wordpress theme list --jsonl | wordpress theme get
wordpress theme list List WordPress theme records
#cmd-wordpress-theme-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress post get po1
$ wordpress post list --limit 10
$ wordpress theme list
$ wordpress theme list --limit 10
wordpress type Inspect WordPress type records
#cmd-wordpress-type discovery safe
$ wordpress schema type
$ wordpress schema type.list --out
$ wordpress capabilities
wordpress type get Get a WordPress type
#cmd-wordpress-type-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress type get
$ wordpress type get ty1
$ wordpress type list --jsonl | wordpress type get
wordpress type list List WordPress type records
#cmd-wordpress-type-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress post get po1
$ wordpress post list --limit 10
$ wordpress type list
$ wordpress type list --limit 10
wordpress user Inspect WordPress user records
#cmd-wordpress-user discovery safe
$ wordpress schema user
$ wordpress schema user.list --out
$ wordpress capabilities
wordpress user get Get a WordPress user
#cmd-wordpress-user-get discovery safe
--context string = edit WordPress context: view, embed, or edit
--site string WordPress site URL for this command
$ wordpress user get
$ wordpress user get u1
$ wordpress user list --jsonl | wordpress user get
wordpress user list List WordPress user records
#cmd-wordpress-user-list discovery safe
--after string Only records after this ISO timestamp
--author string Author user ref or ID
--before string Only records before this ISO timestamp
--category string Category ref, slug, or ID
--context string = edit WordPress context: view, embed, or edit
--media-type string Media type: image, video, text, application, or audio
--mime-type string Media MIME type
--modified-after string Only records modified after this ISO timestamp
--modified-before string Only records modified before this ISO timestamp
--order string Sort order: asc or desc
--orderby string WordPress orderby field
--parent string Parent ref or ID
--post string Post ref or ID
--search string WordPress search parameter
--site string WordPress site URL for this command
--slug string WordPress slug
--status string WordPress status filter
--tag string Tag ref, slug, or ID
--type string Custom post type REST base
--who string User list filter, for example authors
$ wordpress user list
$ wordpress user list --who authors
$ wordpress user search --query alice
wordpress version Show version information
#cmd-wordpress-version discovery safe
$ wordpress version --help

play_circle Live Examples

Output captured from a real workspace. Regenerate with scripts/gen-docs.sh --update.

auth

Show auth status
$ wordpress auth status
Credential: WordPress Application Password (`wordpress_application_password`).
Create or revoke it in wp-admin: https://dev-cmdhub.pantheonsite.io/wp-admin/profile.php#application-passwords

Authenticated as kestrelphilip@gmail.com
Profile: kestrelphilip@gmail.com

Next steps:
- Run: wordpress auth whoami
Inspect identity command
$ wordpress auth whoami --help
Canonical identity command for WordPress. Call the REST API as the current profile and show the authenticated user; use this instead of user me, account me, or wordpress me.

Usage:
  wordpress auth whoami [flags]

Examples:
wordpress auth status
wordpress auth whoami
wordpress auth whoami --help
wordpress auth whoami --json

Flags:
  -h, --help   help for whoami

Global Flags:
      --config string    Config path override
      --cursor string    Continuation cursor
      --debug            Enable debug diagnostics
      --json             Emit one JSON wrapper/debug payload
      --jsonl            Emit pipeable pc.cli.v1 JSONL item/meta records
      --limit int        Maximum items to emit (default 50)
      --no-paginate      Fetch only one page
  -o, --output string    Compatibility output mode: json|jsonl. Prefer --json for wrapper/debug or --jsonl for pipes
      --page-size int    Requested upstream page size (default 50)
      --profile string   Config/auth profile (default "default")
  -q, --quiet            Suppress non-essential diagnostics
  -v, --version          Print version information
      --view string      View mode: summary|full (default "summary")
Run diagnostics
$ wordpress doctor
Credential: WordPress Application Password (`wordpress_application_password`).
Create or revoke it in wp-admin: https://dev-cmdhub.pantheonsite.io/wp-admin/profile.php#application-passwords

wordpress doctor: WARN
Checks: credential_backend ok, credential_security warn, profiles ok, auth ok, permissions ok, connectivity ok, scope ok
CHECK                STATUS  DETAIL
credential_backend   OK      using file
credential_security  WARN    credential backend stores local plaintext secrets
profiles             OK      active profile "kestrelphilip@gmail.com"
auth                 OK      stored Application Password is valid
permissions          OK      current WordPress user is readable through /wp/v2/users/me
connectivity         OK      WordPress REST index is reachable
scope                OK      core wp/v2 namespace is available

Next steps:
- Status:       wordpress auth status
- Capabilities: wordpress capabilities

lifecycle

Show capabilities
$ wordpress capabilities
Capabilities is the operations inventory: resources, actions, safety, output modes, and command paths.
Use `wordpress capabilities --json` for the full command contract; use `wordpress schema` for input/output schemas.
Output: `--json` is one wrapper/debug payload; `--jsonl` is the pipeable `pc.cli.v1` item/meta stream.

wordpress capabilities
Resources: application-password, auth, autosave, block, block-type, capabilities, category, comment, config, content, doctor, mcp, media, menu, menu-item, navigation, page, plugin, post, profile, resolve, revision, route, schema, search, setting, site, site-health, status, tag, taxonomy, template, template-part, theme, type, user, version
Machine output: --json, --jsonl

Next steps:
- Schema:   wordpress schema
- Contract: wordpress capabilities --json
- Help:     wordpress --help
- Status:   wordpress auth status

schemas

Show schema overview
$ wordpress schema
Schema is the machine contract: command-level input/output schemas by `resource.action`.
Use `wordpress schema post.list --in --json` or `wordpress schema post.list --out --json`; use `wordpress capabilities` for operations.

wordpress schemas
COMMAND                      DIR
application-password.get     input
application-password.get     output
application-password.revoke  input
application-password.revoke  output
auth.login                   input
auth.login                   output
auth.logout                  output
auth.refresh                 output
auth.status                  output
auth.whoami                  output
autosave.apply               input
autosave.apply               output
autosave.create              input
autosave.create              output
autosave.get                 input
autosave.get                 output
autosave.list                input
autosave.list                output
block.create                 input
block.create                 output
block.delete                 input
block.delete                 output
block.get                    input
block.get                    output
block.list                   input
block.list                   output
block.restore                input
block.restore                output
block.search                 input
block.search                 output
block.trash                  input
block.trash                  output
block.update                 input
block.update                 output
block-type.get               input
block-type.get               output
block-type.list              input
block-type.list              output
block-type.search            input
block-type.search            output
capabilities.describe        output
category.create              input
category.create              output
category.delete              input
category.delete              output
category.get                 input
category.get                 output
category.list                input
category.list                output
category.search              input
category.search              output
category.update              input
category.update              output
comment.approve              input
comment.approve              output
comment.create               input
comment.create               output
comment.delete               input
comment.delete               output
comment.get                  input
comment.get                  output
comment.hold                 input
comment.hold                 output
comment.list                 input
comment.list                 output
comment.reply                input
comment.reply                output
comment.restore              input
comment.restore              output
comment.search               input
comment.search               output
comment.spam                 input
comment.spam                 output
comment.trash                input
comment.trash                output
comment.unspam               input
comment.unspam               output
comment.update               input
comment.update               output
config.explain               output
content.create               input
content.create               output
content.delete               input
content.delete               output
content.get                  input
content.get                  output
content.list                 input
content.list                 output
content.restore              input
content.restore              output
content.search               input
content.search               output
content.trash                input
content.trash                output
content.update               input
content.update               output
doctor.run                   output
media.attach                 input
media.attach                 output
media.delete                 input
media.delete                 output
media.detach                 input
media.detach                 output
media.download               input
media.download               output
media.get                    input
media.get                    output
media.list                   input
media.list                   output
media.search                 input
media.search                 output
media.update                 input
media.update                 output
media.upload                 input
media.upload                 output
menu.create                  input
menu.create                  output
menu.delete                  input
menu.delete                  output
menu.get                     input
menu.get                     output
menu.list                    input
menu.list                    output
menu.search                  input
menu.search                  output
menu.update                  input
menu.update                  output
menu-item.create             input
menu-item.create             output
menu-item.delete             input
menu-item.delete             output
menu-item.get                input
menu-item.get                output
menu-item.list               input
menu-item.list               output
menu-item.search             input
menu-item.search             output
menu-item.update             input
menu-item.update             output
navigation.create            input
navigation.create            output
navigation.delete            input
navigation.delete            output
navigation.get               input
navigation.get               output
navigation.list              input
navigation.list              output
navigation.restore           input
navigation.restore           output
navigation.search            input
navigation.search            output
navigation.trash             input
navigation.trash             output
navigation.update            input
navigation.update            output
page.clone                   input
page.clone                   output
page.create                  input
page.create                  output
page.delete                  input
page.delete                  output
page.get                     input
page.get                     output
page.list                    input
page.list                    output
page.publish                 input
page.publish                 output
page.restore                 input
page.restore                 output
page.schedule                input
page.schedule                output
page.search                  input
page.search                  output
page.trash                   input
page.trash                   output
page.update                  input
page.update                  output
plugin.get                   input
plugin.get                   output
plugin.list                  input
plugin.list                  output
post.clone                   input
post.clone                   output
post.create                  input
post.create                  output
post.delete                  input
post.delete                  output
post.get                     input
post.get                     output
post.list                    input
post.list                    output
post.publish                 input
post.publish                 output
post.restore                 input
post.restore                 output
post.schedule                input
post.schedule                output
post.search                  input
post.search                  output
post.trash                   input
post.trash                   output
post.update                  input
post.update                  output
profile.create               input
profile.create               output
profile.delete               input
profile.delete               output
profile.list                 output
profile.rename               input
profile.rename               output
profile.use                  input
profile.use                  output
resolve.get                  output
revision.delete              input
revision.delete              output
revision.get                 input
revision.get                 output
revision.list                input
revision.list                output
revision.restore             input
revision.restore             output
route.get                    input
route.get                    output
route.list                   input
route.list                   output
schema.describe              output
search.query                 input
search.query                 output
setting.get                  input
setting.get                  output
setting.list                 input
setting.list                 output
setting.update               input
setting.update               output
site.configure               input
site.configure               output
site.get                     input
site.get                     output
site-health.get              input
site-health.get              output
site-health.list             input
site-health.list             output
status.get                   input
status.get                   output
status.list                  input
status.list                  output
tag.create                   input
tag.create                   output
tag.delete                   input
tag.delete                   output
tag.get                      input
tag.get                      output
tag.list                     input
tag.list                     output
tag.search                   input
tag.search                   output
tag.update                   input
tag.update                   output
taxonomy.get                 input
taxonomy.get                 output
taxonomy.list                input
taxonomy.list                output
template.get                 input
template.get                 output
template.list                input
template.list                output
template-part.get            input
template-part.get            output
template-part.list           input
template-part.list           output
theme.get                    input
theme.get                    output
theme.list                   input
theme.list                   output
type.get                     input
type.get                     output
type.list                    input
type.list                    output
user.get                     input
user.get                     output
user.list                    input
user.list                    output
user.search                  input
user.search                  output
version.get                  output

Next steps:
- Status: wordpress auth status
- Login:  wordpress auth login
- Site:   wordpress site get
- Schema: wordpress schema
Inspect post creation schema
$ wordpress schema post.create --input
Create post

Next steps:
- List:   wordpress post list
- Status: wordpress auth status
- Login:  wordpress auth login
- Site:   wordpress site get
Inspect media upload schema
$ wordpress schema media.upload --input
Upload media

Next steps:
- List:   wordpress media list
- Status: wordpress auth status
- Login:  wordpress auth login
- Site:   wordpress site get

pages

Show page create help
$ wordpress page create --help
Create a WordPress page

Usage:
  wordpress page create [flags]

Examples:
wordpress page create --help
wordpress page create --title "cmdhub-wordpress draft" --content-file ./post.md --content-format markdown --status draft
wordpress page create --title "cmdhub-wordpress draft" --content-file ./post.md --status draft

Flags:
      --category stringArray    Category ref or ID; repeatable
      --content string          Content body
      --content-file string     Read content from file or - for stdin
      --content-format string   Content format: html, markdown, or plain (default "html")
      --date string             Publish date
      --dry-run                 Preview without changing WordPress state
      --excerpt string          Excerpt
      --excerpt-file string     Read excerpt from file or - for stdin
      --featured-media string   Featured media ref or ID
  -h, --help                    help for create
      --menu-order int          Page menu order
      --parent string           Parent ref or ID
      --site string             WordPress site URL for this command
      --slug string             Slug
      --status string           WordPress status (default "draft")
      --tag stringArray         Tag ref or ID; repeatable
      --timezone string         Date timezone
      --title string            Title
      --title-file string       Read title from file or - for stdin
      --yes                     Confirm create-time publish or schedule

Global Flags:
      --config string    Config path override
      --cursor string    Continuation cursor
      --debug            Enable debug diagnostics
      --json             Emit one JSON wrapper/debug payload
      --jsonl            Emit pipeable pc.cli.v1 JSONL item/meta records
      --limit int        Maximum items to emit (default 50)
      --no-paginate      Fetch only one page
  -o, --output string    Compatibility output mode: json|jsonl. Prefer --json for wrapper/debug or --jsonl for pipes
      --page-size int    Requested upstream page size (default 50)
      --profile string   Config/auth profile (default "default")
  -q, --quiet            Suppress non-essential diagnostics
  -v, --version          Print version information
      --view string      View mode: summary|full (default "summary")
List pages
$ wordpress page list --status any --limit 5
Refs: `pg1` is a session-scoped local ref created by `wordpress page list`; it is not a WordPress ID. Use `wordpress resolve pg1` to inspect exact IDs and URLs.

Pages (2 total)
REF  TITLE           STATUS   WHEN                 URL
pg1  Privacy Policy  draft    2026-05-23T14:21:28  [u6]
pg2  Sample Page     publish  2026-05-23T14:21:28  [u7]

URLs:
- [u6] https://dev-cmdhub.pantheonsite.io
- [u7] https://dev-cmdhub.pantheonsite.io

Next steps:
- Open:   wordpress page get pg1
- Search: wordpress page search --query <text>
- Status: wordpress auth status
- Login:  wordpress auth login

alt_route Composition Patterns

Bridge your ecosystem with zero middleware.

# Inspect auth state and available command schemas
wordpress auth status --json
wordpress schema