Tags: cipi-sh/cli
Tags
Add self-update command `cipi-cli update` (alias self-update/upgrade) downloads the latest GitHub release binary for the current OS/arch, verifies its SHA-256 checksum, and replaces the running binary in place. Co-authored-by: Cursor <cursoragent@cursor.com>
Support async DB listing & job retrieval Add higher-level client helpers and refactor callers: implement Client.GetJob to handle both wrapped and flat job responses, and Client.ListDatabases to handle synchronous (200) and asynchronous (202 -> job) /api/dbs responses. Introduce databasesFromJobResult to extract database rows from job results and update WaitForJob to use GetJob. Update cmd/db.go and cmd/jobs.go to call the new client methods and simplify response handling and output. These changes centralize API parsing and enable polling for async database listings.