01Run it
Replace the <placeholders> with your own values, or use the builder below.
p202 app install token <registration-id> --click <click>02What you get
Pick the shape you need. People get a table. Add
--json, --csv or --ndjson for scripts, or -q for ids only. An AI agent gets compact JSON without asking. All output formats03Build your command
Pick values and the command line writes itself, quoted and ready to paste.
p202 app install tokenSet flags below; the command updates as you type.
04Flags
1 flag, plus the global flags every command takes.
| Flag | What it does |
|---|---|
| --clickstringrequired | The click to sign (from p202 click list) |
05How it works
Mints [[p202_install_token]] for one of your clicks, exactly as the redirect does, and the store link that carries it (…&referrer=p202%3D<token>). A read: nothing is stored.
06For agents
Running this from an agent
- Read the same facts as JSON:
p202 commands app install token --json. - With
AI_AGENT,CLAUDECODEor another agent variable set, output is compact JSON and errors arrive on stderr as a JSON envelope with ahint. - Exit codes: 0 ok, 1 bad input, 2 auth, 3 network, 4 server error, 5 partial failure.
{
"path": "p202 app install token",
"use": "token <registration-id> --click <click-id>",
"short": "Show the install token and Google Play store link for one click",
"long": "Mints [[p202_install_token]] for one of your clicks, exactly as the redirect does,\nand the store link that carries it (…&referrer=p202%3D<token>). A read: nothing is stored.",
"runnable": true,
"flags": [
{
"name": "click",
"type": "string",
"default": "",
"usage": "The click to sign (from `p202 click list`)",
"required": false
}
]
}