Setyenv · Docs
  • English
  • Spanish
  • Chinese
  • Japanese
  • Arabic
  • German
  • French
  • Hindi
  • Indonesian
  • Italian
  • Dutch
  • Portuguese
  • Russian
  • Turkish

CLI

The binary takes a small set of subcommands.

USAGE:
    wp-executor [OPTIONS] <COMMAND>

COMMANDS:
    run            Start the worker loop until SIGINT / SIGTERM / Ctrl+C
    probe          One-shot connectivity check against the upstream contract endpoint
    show-config    Print the resolved configuration with the token redacted
    system-info    Print the local system.info payload (no upstream call)
    capabilities   List the capabilities this binary implements

Common invocations

Probe before installing as a service

wp-executor --base-url=https://your-site.tld --token=pfw_worker_1_xxx probe

Exits zero on success and prints the upstream contract document the executor would consume on startup.

Inspect what config the binary actually resolved

wp-executor show-config

Token is redacted. Useful when an installer wrote the config and you want to confirm what defaults landed.

Capability negotiation

wp-executor capabilities

Lists what this binary implements. The intersection with the worker's server-side grants and your local allowed_capabilities determines what a workflow can actually ask it to run.

Local probe of system.info

wp-executor system-info

Runs the same code path the system.info capability uses, without contacting the upstream platform. Useful when filing an issue.