Codync
무료 오픈소스 1:1 대안, Grok Bot과 Muse 대신
터미널·CI 파이프라인·AI 코딩 에이전트에서 Purchasely 데이터 조회·설정 변경·자동화
Read your Purchasely data, change your configuration with guardrails and automate it, from your terminal, your CI pipeline or your AI coding agent.
개발 도구GitHub @Purchasely온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
저장소 정보는 아직 수집하지 않았습니다.
아직 감지된 업데이트가 없습니다. 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.