restart
Restart an App: its Machine starts again on its live Deploy.
The tool of basemodo restart, on the local MCP and the remote one. It changes things, so an agent's client may ask you before it runs.
It starts with the App's Secrets as they are now, so a Secret set with basemodo env set applies without a new Deploy (waking from sleep does the same). A cron run going on stops. An App paused because a Process kept crashing or ran out of its memory or disk quota is resumed; one paused until its Owner chooses a Plan, or for review, stays paused. Owners and Editors restart an App.
Arguments
app(text): The App to restart. Default: the one named after the current folder.
On the remote MCP
appis required on the remote MCP, which has no folder of yours to find the App from.
Answer
It answers the App's status after, as status prints it: {"app", "state", "latest_deploy", "public_paths", "extras"}. An App with no live Deploy is an error with code app_not_deployed.