Run a WP-CLI command
run_wp_cliRun one WP-CLI command on the site, without the leading "wp", e.g. "post create --post_type=page --post_title=About --post_status=publish --porcelain". Put long content in stdin and use "-" as the file argument. eval, shell and db import/export are not available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | the site name, from create_site or list_sites | |
| stdin | No | standard input for the command (optional) | |
| token | No | the token create_site returned (oxa_...); leave out when Oxyforge is connected with an account agent key | |
| command | Yes | the WP-CLI command line without "wp" |