TYPESCRIPT · WORDPRESS DEVOPS CLI
pressable-cli — TypeScript Command-Line Interface for Pressable Managed WordPress
pressable-cli is a developer CLI for automating site provisioning, PHP worker scaling, on-demand backups, and SFTP/SSH credential rotation on Pressable Managed WordPress hosting. It supports interactive terminal prompts as well as JSON output for GitHub Actions deployment workflows.
$ npm install -g pressable-cli
Copy
GitHub ↗
OAuth2 Token Cache
Auto-Refreshed
Batch Site Ops
50+ Sites / Run
Output Modes
Table / JSON / CSV
Zero-Downtime Clone
Supported
01. Interactive Workbench
02. Reference Implementation
03. Architecture & Specs
Interactive Pressable Cloud CLI Command & REST Payload Simulator
Target Pressable Site Name or Numeric ID
CLI Subcommand Operation
pressable sites list --env production --json
pressable backups create --site 1048291 --wait
pressable cache purge --site 1048291 --edge-all
pressable php update --site 1048291 --version 8.3
Execute Pipeline ▶
Reset
Deterministic Execution Output & Telemetry
STATUS: READY // 0 ERRORS
TypeScript (Pressable CLI Action)
export async function triggerSiteBackup(client: PressableClient, siteId: number) {
const backup = await client.post(`/v1/sites/${siteId}/backups`, {
type: 'on_demand',
note: `Pre-deploy snapshot via pressable-cli at ${new Date().toISOString()}`
});
console.log(`✔ Snapshot queued: backup_id=${backup.data.id} status=${backup.data.status}`);
return backup.data;
}
Production Engineering Specifications
Repository: https://github.com/bhubbard/pressable-cli
Live Studio: https://code.brandonhubbard.com/pressable-cli/
Portal: https://code.brandonhubbard.com/
Install: npm install -g pressable-cli
Design System: Brandon Hubbard Swiss Modernist (#0A0A0C / 1px Exposed Structural Grid)