WordPress CLI
for cmdhub.
WordPress resources through the cmdhub CLI.
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 reading, `--json` for one object, and `--jsonl` for pipes.
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 informationwordpress application-password
Inspect or revoke the current CLI Application Passwordwordpress application-password get
Inspect current Application Password metadata--site
string
WordPress site URL for this commandwordpress application-password revoke
Revoke the current CLI Application Password remotely--confirm
bool
Confirm remote revoke--current
bool
Revoke only the current CLI Application Password--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this commandwordpress auth
Manage WordPress authenticationwordpress auth login
Authenticate with a WordPress Application Password--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 Passwordwordpress auth logout
Remove stored WordPress credentialswordpress auth refresh
Validate stored WordPress credentialswordpress auth status
Show WordPress auth statuswordpress auth whoami
Show the current WordPress userwordpress autosave
Work with WordPress autosave recordswordpress autosave apply
Apply a WordPress autosave--confirm
bool
Confirm apply--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
Titlewordpress autosave create
Create a WordPress autosave--confirm
bool
Confirm apply--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
Titlewordpress autosave get
Get a WordPress autosave--page
string
Parent page ref or ID--post
string
Parent post ref or ID--site
string
WordPress site URL for this commandwordpress autosave list
List WordPress autosave records--page
string
Parent page ref or ID--post
string
Parent post ref or ID--site
string
WordPress site URL for this commandwordpress block
Inspect WordPress block recordswordpress block clone
Clone a WordPress block as a draft--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this command--status
string = draft
Clone status--title
string
Clone titlewordpress block create
Create a WordPress block--category
stringArray = []
Category ref or ID; repeatable--confirm
bool
Confirm create-time publish or schedule--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 stdinwordpress block delete
Permanently delete a WordPress block--confirm
bool
Confirm permanent deletion--dry-run
bool
Preview without changing WordPress state--force
bool
Permanently delete instead of trashing--site
string
WordPress site URL for this commandwordpress block get
Get a WordPress block--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress block list
List WordPress block records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress block publish
Publish a WordPress block--confirm
bool
Confirm the status mutation--date
string
Scheduled publish date--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this command--timezone
string
Date timezonewordpress block restore
Restore a trashed WordPress block--confirm
bool
Confirm the restore operation--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 publishwordpress block schedule
Schedule a WordPress block--confirm
bool
Confirm the status mutation--date
string
Scheduled publish date--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this command--timezone
string
Date timezonewordpress block search
Search WordPress block records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress block trash
Move a WordPress block to trash--confirm
bool
Confirm the trash operation--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this commandwordpress block update
Update a WordPress block--category
stringArray = []
Category ref or ID; repeatable--confirm
bool
Confirm publishing, scheduling, or trash status changes--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 stdinwordpress block-type
Inspect WordPress block-type recordswordpress block-type get
Get a WordPress block-type--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress block-type list
List WordPress block-type records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress block-type search
Search WordPress block-type records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress capabilities
Describe capabilitieswordpress category
Inspect WordPress category recordswordpress category create
Create a WordPress category--confirm
bool
Confirm the mutation--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
Slugwordpress category delete
Delete a WordPress category--confirm
bool
Confirm deletion--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this commandwordpress category get
Get a WordPress category--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress category list
List WordPress category records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress category search
Search WordPress category records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress category update
Update a WordPress category--description
string
Description--dry-run
bool
Preview without changing WordPress state--name
string
Name--site
string
WordPress site URL for this command--slug
string
Slugwordpress comment
Inspect WordPress comment recordswordpress comment approve
Approve a WordPress comment--confirm
bool
Confirm comment moderation--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this commandwordpress comment create
Create a WordPress comment--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--confirm
bool
Confirm comment creation--dry-run
bool
Preview without changing WordPress state--post
string
Post ref or ID--site
string
WordPress site URL for this commandwordpress comment delete
Delete a WordPress comment--confirm
bool
Confirm deletion--dry-run
bool
Preview without changing WordPress state--force
bool
Permanently delete instead of trashing--site
string
WordPress site URL for this commandwordpress comment get
Get a WordPress comment--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress comment hold
Hold a WordPress comment--confirm
bool
Confirm comment moderation--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this commandwordpress comment reply
Reply a WordPress comment--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--confirm
bool
Confirm comment creation--dry-run
bool
Preview without changing WordPress state--post
string
Post ref or ID--site
string
WordPress site URL for this commandwordpress comment restore
Restore a WordPress comment--confirm
bool
Confirm comment moderation--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this commandwordpress comment search
Search WordPress comment records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress comment spam
Spam a WordPress comment--confirm
bool
Confirm comment moderation--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this commandwordpress comment trash
Trash a WordPress comment--confirm
bool
Confirm comment moderation--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this commandwordpress comment unspam
Unspam a WordPress comment--confirm
bool
Confirm comment moderation--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this commandwordpress comment update
Update a WordPress comment body--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 commandwordpress config
Inspect local configurationwordpress config explain
Explain resolved configurationwordpress doctor
Run diagnosticswordpress login
Authenticate with a WordPress Application Password--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 Passwordwordpress logout
Remove stored WordPress credentialswordpress media
Inspect WordPress media recordswordpress media attach
Attach WordPress media--dry-run
bool
Preview without changing WordPress state--post
string
Post ref or ID--site
string
WordPress site URL for this commandwordpress media delete
Permanently delete a WordPress media--confirm
bool
Confirm permanent deletion--dry-run
bool
Preview without changing WordPress state--force
bool
Permanently delete instead of trashing--site
string
WordPress site URL for this commandwordpress media detach
Detach WordPress media--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this commandwordpress media download
Download WordPress media to a local file--output-file
string
Local file path to write--site
string
WordPress site URL for this commandwordpress media get
Get a WordPress media--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress media list
List WordPress media records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress media search
Search WordPress media records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress media update
Update WordPress media metadata--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 titlewordpress media upload
Upload media to WordPress--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 titlewordpress page
Inspect WordPress page recordswordpress page clone
Clone a WordPress page as a draft--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this command--status
string = draft
Clone status--title
string
Clone titlewordpress page create
Create a WordPress page--category
stringArray = []
Category ref or ID; repeatable--confirm
bool
Confirm create-time publish or schedule--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 stdinwordpress page delete
Permanently delete a WordPress page--confirm
bool
Confirm permanent deletion--dry-run
bool
Preview without changing WordPress state--force
bool
Permanently delete instead of trashing--site
string
WordPress site URL for this commandwordpress page get
Get a WordPress page--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress page list
List WordPress page records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress page publish
Publish a WordPress page--confirm
bool
Confirm the status mutation--date
string
Scheduled publish date--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this command--timezone
string
Date timezonewordpress page restore
Restore a trashed WordPress page--confirm
bool
Confirm the restore operation--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 publishwordpress page schedule
Schedule a WordPress page--confirm
bool
Confirm the status mutation--date
string
Scheduled publish date--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this command--timezone
string
Date timezonewordpress page search
Search WordPress page records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress page trash
Move a WordPress page to trash--confirm
bool
Confirm the trash operation--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this commandwordpress page update
Update a WordPress page--category
stringArray = []
Category ref or ID; repeatable--confirm
bool
Confirm publishing, scheduling, or trash status changes--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 stdinwordpress plugin
Inspect WordPress plugin recordswordpress plugin get
Get a WordPress plugin--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress plugin list
List WordPress plugin records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress post
Inspect WordPress post recordswordpress post clone
Clone a WordPress post as a draft--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this command--status
string = draft
Clone status--title
string
Clone titlewordpress post create
Create a WordPress post--category
stringArray = []
Category ref or ID; repeatable--confirm
bool
Confirm create-time publish or schedule--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 stdinwordpress post delete
Permanently delete a WordPress post--confirm
bool
Confirm permanent deletion--dry-run
bool
Preview without changing WordPress state--force
bool
Permanently delete instead of trashing--site
string
WordPress site URL for this commandwordpress post get
Get a WordPress post--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress post list
List WordPress post records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress post publish
Publish a WordPress post--confirm
bool
Confirm the status mutation--date
string
Scheduled publish date--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this command--timezone
string
Date timezonewordpress post restore
Restore a trashed WordPress post--confirm
bool
Confirm the restore operation--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 publishwordpress post schedule
Schedule a WordPress post--confirm
bool
Confirm the status mutation--date
string
Scheduled publish date--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this command--timezone
string
Date timezonewordpress post search
Search WordPress post records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress post trash
Move a WordPress post to trash--confirm
bool
Confirm the trash operation--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this commandwordpress post update
Update a WordPress post--category
stringArray = []
Category ref or ID; repeatable--confirm
bool
Confirm publishing, scheduling, or trash status changes--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 stdinwordpress profile
Manage provider profileswordpress profile create
Create an unauthenticated provider profilewordpress profile delete
Delete a local provider profilewordpress profile list
List provider profileswordpress profile rename
Rename a local provider profilewordpress profile use
Set the default provider profilewordpress resolve
Resolve a local ref, short id, or URL aliaswordpress revision
Work with WordPress revision recordswordpress revision delete
Delete a WordPress revision--confirm
bool
Confirm deletion--dry-run
bool
Preview without changing WordPress state--force
bool = true
Force delete--page
string
Parent page ref or ID--post
string
Parent post ref or ID--site
string
WordPress site URL for this commandwordpress revision get
Get a WordPress revision--page
string
Parent page ref or ID--post
string
Parent post ref or ID--site
string
WordPress site URL for this commandwordpress revision list
List WordPress revision records--page
string
Parent page ref or ID--post
string
Parent post ref or ID--site
string
WordPress site URL for this commandwordpress revision restore
Restore selected fields from a WordPress revision--confirm
bool
Confirm revision restore--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 commandwordpress route
Inspect WordPress REST routeswordpress route get
Get a WordPress REST route--site
string
WordPress site URL for this commandwordpress route list
List WordPress REST routes--site
string
WordPress site URL for this commandwordpress schema
Emit schema hintsShow 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 schemawordpress search
Search WordPress contentwordpress search query
Query the WordPress search endpoint--query
string
Search text--search
string
Search text--site
string
WordPress site URL for this command--subtype
string
Comma-separated WordPress search subtypes--type
string
WordPress search typewordpress setting
Inspect and update allowlisted WordPress settingswordpress setting get
Get a WordPress setting--site
string
WordPress site URL for this commandwordpress setting list
List WordPress settings--site
string
WordPress site URL for this commandwordpress setting update
Update an allowlisted WordPress setting--confirm
bool
Confirm setting update--dry-run
bool
Preview without changing WordPress state--name
string
Allowlisted setting name--site
string
WordPress site URL for this command--value
string
Setting valuewordpress site
Inspect and configure the active WordPress sitewordpress site configure
Configure a local WordPress site profile--url
string
WordPress site URL, for example https://example.comwordpress site get
Inspect the configured WordPress REST site--site
string
WordPress site URL for this commandwordpress status
Inspect WordPress status recordswordpress status get
Get a WordPress status--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress status list
List WordPress status records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress tag
Inspect WordPress tag recordswordpress tag create
Create a WordPress tag--confirm
bool
Confirm the mutation--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
Slugwordpress tag delete
Delete a WordPress tag--confirm
bool
Confirm deletion--dry-run
bool
Preview without changing WordPress state--site
string
WordPress site URL for this commandwordpress tag get
Get a WordPress tag--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress tag list
List WordPress tag records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress tag search
Search WordPress tag records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress tag update
Update a WordPress tag--description
string
Description--dry-run
bool
Preview without changing WordPress state--name
string
Name--site
string
WordPress site URL for this command--slug
string
Slugwordpress taxonomy
Inspect WordPress taxonomy recordswordpress taxonomy get
Get a WordPress taxonomy--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress taxonomy list
List WordPress taxonomy records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress template
Inspect WordPress template recordswordpress template get
Get a WordPress template--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress template list
List WordPress template records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress template-part
Inspect WordPress template-part recordswordpress template-part get
Get a WordPress template-part--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress template-part list
List WordPress template-part records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress theme
Inspect WordPress theme recordswordpress theme get
Get a WordPress theme--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress theme list
List WordPress theme records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress type
Inspect WordPress type recordswordpress type get
Get a WordPress type--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress type list
List WordPress type records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress user
Inspect WordPress user recordswordpress user get
Get a WordPress user--context
string = edit
WordPress context: view, embed, or edit--site
string
WordPress site URL for this commandwordpress user list
List WordPress user records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress user search
Search WordPress user records--after
string
Only records after this ISO timestamp--author
string
Author user ref or ID--before
string
Only records before this ISO timestamp--context
string = edit
WordPress context: view, embed, or edit--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--who
string
User list filter, for example authorswordpress version
Show version informationplay_circle Live Examples
Output captured from a real workspace. Regenerate with
scripts/gen-docs.sh --update.
auth
Authenticated as kestrelphilip@gmail.com Next steps: - Run: wordpress auth whoami
lifecycle
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, doctor, media, menu, menu-item, navigation, page, plugin, post, profile, resolve, revision, route, schema, search, setting, site, 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
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 navigation.clone input block.create input config.explain output site.configure input route.get output search.query input post.delete input post.delete output page.create output page.schedule output post.clone output block-type.list output application-password.revoke output schema.describe output navigation.trash input type.list output profile.use output post.search output user.search output comment.list output post.restore input navigation.update output block.clone output menu.search input block.create output menu.delete output revision.list output revision.get input block-type.search input category.update input comment.delete output media.detach output block.schedule input block.delete input category.list output post.get output media.search input post.restore output template.get input media.update output post.schedule output application-password.get input comment.spam input comment.search input category.create output menu-item.list output status.list input status.get input category.get input revision.delete output profile.delete output navigation.create input profile.delete input navigation.update input block-type.get output auth.login input post.trash input block.trash output comment.trash output autosave.apply input autosave.apply output profile.create output route.list input route.get input block.restore output menu.get input taxonomy.get input theme.list input comment.unspam output profile.use input comment.spam output page.get input template.list input revision.get output revision.restore input media.download input plugin.get input navigation.publish output block.schedule output category.search output category.delete output comment.restore output page.schedule input taxonomy.list input setting.list output resolve.get output comment.list input post.trash output navigation.clone output template-part.get input comment.delete input route.list output page.get output tag.create output block-type.list input post.list input user.search input post.create input post.clone input block.publish output tag.update input menu-item.create output post.schedule input block.clone input menu.create output theme.get output category.get output menu-item.delete input block.update output category.list input plugin.list output media.attach input auth.refresh output site.configure output media.get input plugin.get output menu.get output menu-item.search input user.get input navigation.restore output theme.get input comment.reply output media.upload input media.list output post.update input tag.create input template.list output capabilities.describe output post.search input user.list input media.attach output site.get output post.create output status.get output comment.create output profile.create input page.list output navigation.create output autosave.list output navigation.delete output page.restore output tag.search output menu-item.search output template-part.list output block-type.search output block-type.get input doctor.run output page.publish output category.update output tag.search input taxonomy.list output template-part.list input auth.status output post.list output post.publish input navigation.restore input block.delete output menu.list output auth.logout output profile.rename output tag.get input menu-item.create input status.list output comment.approve output block.trash input tag.delete output menu-item.get input menu-item.delete output type.get input comment.hold output revision.delete input search.query output menu-item.update output auth.login output media.download output page.clone output tag.list output template.get output autosave.list input application-password.get output application-password.revoke input profile.rename input page.search output comment.search output page.publish input navigation.trash output menu.update output menu-item.update input media.delete input media.search output page.delete input navigation.delete input category.search input setting.list input comment.get input type.list input comment.create input comment.reply input revision.list input comment.unspam input comment.trash input page.restore input category.delete input tag.list input version.get output menu.search output menu.delete input page.delete output post.update output tag.delete input menu-item.get output plugin.list input comment.hold input type.get output revision.restore output autosave.create output page.update output user.get output page.clone input menu.create input profile.list output page.create input block.publish input post.get input page.list input category.create input post.publish output block.restore input menu.list input comment.restore input media.delete output setting.get output site.get input comment.get output block.update input menu.update input template-part.get output comment.approve input autosave.get output media.list input comment.update input page.search input autosave.create input tag.update output comment.update output setting.update output tag.get output setting.update input navigation.schedule output theme.list output setting.get input auth.whoami output user.list output page.update input page.trash input page.trash output navigation.publish input media.upload output media.get output media.update input media.detach input autosave.get input navigation.schedule input menu-item.list input taxonomy.get output Next steps: - Status: wordpress auth status - Login: wordpress auth login - Site: wordpress site get - Schema: wordpress schema
alt_route Composition Patterns
Bridge your ecosystem with zero middleware.
# Inspect auth state and available command schemas
wordpress auth status --json
wordpress schema
wordpress comment listList WordPress comment records--afterstring Only records after this ISO timestamp--authorstring Author user ref or ID--beforestring Only records before this ISO timestamp--contextstring = edit WordPress context: view, embed, or edit--mime-typestring Media MIME type--modified-afterstring Only records modified after this ISO timestamp--modified-beforestring Only records modified before this ISO timestamp--orderstring Sort order: asc or desc--orderbystring WordPress orderby field--parentstring Parent ref or ID--poststring Post ref or ID--searchstring WordPress search parameter--sitestring WordPress site URL for this command--slugstring WordPress slug--statusstring WordPress status filter--whostring User list filter, for example authors