Skip to content

DX: WP-CLI commands for headless token config #61

Description

@jackgranatowski

Type: DX / agency · Tier: fast-follow

Summary

WP-CLI commands to read/set token overrides, export/import config, and select bundles — so configuration can live in CI / provisioning scripts, not only the admin UI.

Why

Agencies and headless setups want scriptable, reproducible config. Complements the existing REST controller.

Verified state (2026-06-20)

grep WP_CLI across includes/ + integrations/ = ABSENT. A token REST controller exists (class-rest-controller.php) but there is no CLI surface.

Acceptance criteria

  • wp slashed token get/set/list
  • wp slashed config export/import (reuses the existing export format)
  • wp slashed bundle <essential|optimal|full>
  • Validates via the existing token sanitizer
  • Documented

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions