CLI

Every command and remote script, with flags and examples.

Every command and remote script, with flags and examples.

In this section

  • CLI Overview What the CaptainCore CLI is, where it runs, how you address a site, and the global flags every command accepts.
  • Sites and Data Commands for listing sites, syncing site data, collecting usage and stats, capturing screenshots and reporting version drift.
  • Backups and History Restic backups, git-based quicksaves, downloadable snapshots, archives, visual captures and update logs.
  • Running Commands How to run SSH commands, scripts, recipes and updates against one site or the whole fleet, and how bulk concurrency works.
  • Monitoring and Health Uptime checks, performance sampling, JavaScript error scans, email deliverability checks, server logs and SSH connection verification.
  • Providers, Accounts and the Server Connecting the CLI to a CaptainCore Manager site, managing hosting providers and accounts, reading configuration, and running the HTTP server the Manager dispatches through.
  • Remote Scripts What remote scripts are, how they are piped over SSH, and a catalogue of every script that ships in lib/remote-scripts.
  • Cron and Scheduling How recurring fleet work is defined and scheduled across the CLI and the CaptainCore Manager plugin.