CLI tools for automating Red Hat Pantheon documentation publishing operations. Includes pantheon-cli for managing build configurations, triggering rebuilds, publishing releases, and managing splash page configurations.
Repository: https://github.com/themr0c/pantheon-cli
- Kerberos ticket -- Run
kinitbefore using the CLI. Verify withklist. - Red Hat VPN -- Required for access to
pantheon.cee.redhat.comandreef.corp.redhat.com. - Playwright Firefox -- Installed automatically by
setup.sh.
git clone git@github.com:themr0c/pantheon-cli.git
cd pantheon-cli
cp .env.example .env
# Edit .env and set SSO_EMAIL to your Red Hat SSO email
bash scripts/setup.sh| Command | Description |
|---|---|
pantheon-cli list --version 1.9 |
List titles with job states, branches, content dirs |
pantheon-cli update --version 1.9 --env preview --branch BRANCH [--directory DIR] [--enable] [--rebuild] [--exec] |
Update build config (dry-run by default) |
pantheon-cli rebuild --version 1.9 --env preview [--enable] [--wait] [--exec] |
Trigger rebuilds |
pantheon-cli publish --version 1.9 [--rebuild-first] [--wait] [--exec] |
Enable + rebuild stage builds |
pantheon-cli splash-export --version 1.9 --env stage [-o FILE] |
Export splash page config to YAML |
pantheon-cli splash-configure --version 1.9 --env stage -c FILE [--exec] |
Apply YAML splash page config (dry-run by default) |
| Option | Default | Description |
|---|---|---|
--product |
red_hat_developer_hub |
Pantheon product slug |
--title FILTER |
all | Substring filter (repeatable) |
--fresh |
off | Clear session and re-authenticate |
--email |
from SSO_EMAIL |
Override SSO_EMAIL from .env |
For architecture details, API methods, and known gotchas, see docs/pantheon-reference.md and docs/splash-page-api.md.