basemodo rollback
Make an earlier Deploy live again, as a new Deploy.
basemodo rollback [OPTIONS] <DEPLOY>Nothing is built: the new Deploy runs the earlier one's image, with the App's Secrets as they are now, and waits until it answers HTTP.
Arguments
DEPLOY(required): The Deploy to make live again: its id, asbasemodo deploy --jsonprints it (deploy.id). It must have gone live once.
Like every command, it also takes the global options --json and --api-url.
Examples
Make an earlier Deploy live again (its id from deploy --json or the App's page):
basemodo rollback 0b8f6a52-3f0e-4c1e-9a57-5d1c2e7f9a10Output
With --json, it prints {"url", "app", "deploy"}, as deploy prints it; progress events on stderr.
From an agent
The local MCP serves it as the tool rollback. It changes things, so an agent's client may ask you before it runs. Its arguments are the command's, named as JSON keys: deploy (text). It answers what the command prints with --json.