Brandon Hubbard Engineering / pressable-cli
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
GitHub ↗
OAuth2 Token Cache Auto-Refreshed
Batch Site Ops 50+ Sites / Run
Output Modes Table / JSON / CSV
Zero-Downtime Clone Supported
Interactive Pressable Cloud CLI Command & REST Payload Simulator
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)