Codync
免費、開源的 1:1 替代方案,取代 Grok Bot 與 Muse。從 iPhone、Mac 或 Linux 桌面將 Claude Code、Codex、Cursor 與 40+ 程式碼代理人作為持續機器人傳訊。群組聊天、主題串…
AI 翻譯
尚未收集儲存庫資訊。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
Purchasely CLI: your Purchasely account in the terminal, the CI and your AI agent
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗The purchasely command line tool for the Purchasely Management API. It reads and changes the apps, products, plans, placements, audiences, campaigns, flows and A/B tests of your account.
curl -fsSL https://cli.purchasely.io/install.sh | sh
You need Node 22.12 or newer. The installer puts the program in ~/.local/share/purchasely/install and links purchasely into a bin directory that is already on your PATH (~/.local/bin or ~/bin). If there is none, it creates ~/.local/bin and adds one line to the profile of your login shell. It never uses sudo. Open a new terminal if the command is not found.
The CLI checks for a new version once a day and updates itself in the background. To update now:
purchasely update
To stop the daily check, set PURCHASELY_DISABLE_AUTOUPDATE=1 or PURCHASELY_OFFLINE=1, or put "auto_update": false in ~/.config/purchasely/config.json. The check also stays off when CI is set. Homebrew will come later.
purchasely ai install
This installs the Purchasely AI plugin in the coding agents it finds: Claude Code, Codex, Copilot CLI, Gemini CLI, Cursor and OpenCode. --agent <name> picks one. --dry-run shows the plan and changes nothing.
purchasely ai status shows the agents, the plugin version and how each agent follows releases.purchasely ai update updates the plugin now. The CLI also updates it once a day in the background, only in the agents that ai install registered. A plugin you installed by hand is never touched.purchasely ai uninstall removes the plugin from the agents that ai install registered.The plugin has 6 skills from plugin 2.3.0 (5 before): purchasely-cli, sdk-expert, integrate, review, debug and migrate. Ask your agent to integrate the SDK with the real placements, products, plans and custom events that the CLI reads from your account. Ask it to debug, review or improve your integration. The CLI does not return the SDK API key of an app: copy it from the Console (App settings) into your app configuration. The agent does not ask for it.
purchasely auth login # asks for your Management API key
purchasely search "placement" # find a command by keyword
purchasely --help # every command
Read-only examples:
purchasely screens list --app app_xxx
purchasely placements get --app app_xxx --id <placement>
purchasely dashboard summary --app app_xxx --output table # key metrics with charts
Add --dry-run to any command to print the request without sending it. A write needs --env prod or --env staging. No key yet? export PURCHASELY_DEMO=1 turns on demo mode: the reads answer from the sample data of a fictional app (app_demo), with no key and no request, and the writes are refused. purchasely demo shows the commands to try.
Every Management API operation is a command: purchasely <resource> <action>. Run purchasely --help, then purchasely <resource> --help. purchasely dashboard summary --app app_xxx --output table shows the MRR, active subscriptions, paywall viewers and conversions of an app, with a chart per metric. purchasely dashboard alone opens a menu of every dashboard in a terminal, and prints the list as JSON with --output json. purchasely usage shows your requests of the last hour, the rejections and the limiter state.
purchasely reference prints every command (also --format man|html|json, and the page https://cli.purchasely.io/reference). purchasely api GET /applications calls any Management endpoint with the same rules. purchasely completion zsh prints a completion script (bash and fish too). purchasely games opens six terminal games.
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Generic failure (API error, network) |
| 2 | Wrong usage |
| 3 | No key, or the key is refused (401) |
| 4 | Forbidden (403) |
| 5 | Validation failed (422) |
| 6 | Not found (404) |
| 7 | Rate limited (429) |
| 8 | Confirmation required |
| 10 | Request refused by a local guardrail |
Remove the install folder, the man page and the purchasely link in your bin dir (command -v purchasely shows it):
rm -rf ~/.local/share/purchasely/install
rm -f "${XDG_DATA_HOME:-$HOME/.local/share}/man/man1/purchasely.1"
rm "$(command -v purchasely)"
Copyright (c) 2026 Purchasely SAS. All rights reserved. Only customers of Purchasely may use the CLI, to use the Purchasely platform. See LICENSE.