DocsReferenceCommand referenceFor AI agents
Reference

Command reference

Every uarpie command. Your AI runs these; you can too.

3 minutes to read

Run any of them with npx uarpie <command>. Nothing to install.

CommandWhat it does
uarpie or uarpie deployDetect, build and put the app in the current folder online
uarpie statusWhere the app is, which version is live, and this month's use
uarpie logsRecent activity from the app
uarpie doctor (or uarpie diagnose)What is wrong with the app right now, and what to change
uarpie versionsEvery version, newest first
uarpie rollbackGo back to the previous version (code only: the database stays as it is)
uarpie loginSign this computer into your account (approve a code in the browser)
uarpie logoutForget the account on this computer
uarpie whoamiWhich account this computer is signed in as
uarpie projects (or uarpie apps)List the apps in your account
uarpie clone <app> [dir]Put an app's source on this computer
uarpie releasesThe phone app builds made for this app, newest first
uarpie keys (or uarpie keys list)The API keys an app has, never their secrets
uarpie keys new [name]Make a new key; it is shown once and cannot be shown again
uarpie keys revoke <key-id>Stop a key working; requests using it are refused
uarpie visibility public --confirm-publicLet anyone with the address open the app; only once the person has agreed to that
uarpie visibility privateBack to only the people the app is shared with
uarpie open-paths <paths...>Paths of a private app anyone may read, such as /media/ (--clear for none); takes about a minute to apply
uarpie build-log [deployment-id]The build's output: the newest version that built anything, or the one named
uarpie mcpRun the MCP server over stdio for an AI agent

Options

OptionMeaning
--jsonOne JSON object per line, for agents
-C <dir>, --cwd <dir>Act on a different folder
-p <id-or-name>, --project <id-or-name>Name the app when not in its folder (status, logs, doctor, versions, rollback, releases, keys, visibility, open-paths, build-log). For one part of a project with several, its id from services in deploy.json
-V, --versionPrint which version of uarpie this is
-h, --helpShow the help, for the whole program or for one command
deploy -y, --yesNever prompt; skip missing secrets
deploy --dry-runDetect and write deploy.json, deploy nothing
deploy -e KEY=value, --env KEY=valueSet a secret for this deploy; give as many as you need
logs --since <when>Only activity since then: a time, or a duration such as 15m or 2h
logs --filter <text>Only lines containing this text
doctor --since <when>How far back to look, such as 2h or 7d; the last hour when left out
doctor --fullThe whole stack trace, not only its first few lines
versions -n <n>, --limit <n>How many versions to show
rollback --to <id>A specific version instead of the previous one
login --no-browserPrint the sign-in link instead of opening the browser
clone --at <n>A specific version number instead of the live one
mcp --client <name>The agent's name, shown in version history

Where things are stored

  • deploy.json in the app's folder: the plan. Safe to commit, contains no secrets.
  • Your credentials: outside the project, in your user config folder. Never in the app.
  • Secrets: on the platform only.

Exit codes and errors

0 on success, 1 on failure. Every failure is printed as the error contract: code, message, fix, file. With --json the same object is the last line.

This page as Markdown: /docs/cli.mdllms.txt
↑ ↓ to moveEnter to open