Agent-friendly TypeScript CLI for the Planning Center API, intended for npm publishing.
Planning Center exposes APIs for products including Calendar, Check-Ins, Giving, Groups, People, and Services. This repository currently contains only the base CLI and client structure; endpoint-specific commands will be added later.
npm install
npm run buildCopy .env.example to .env and set credentials:
cp .env.example .envSupported authentication inputs:
PCO_ACCESS_TOKENfor bearer token flows.PCO_APP_IDandPCO_SECRETfor basic auth flows.
npm run dev -- healthThe CLI prints JSON so automation agents can parse output reliably.
src/cli.tswires the command-line interface.src/client.tscontains the reusable Planning Center API client.src/config.tsloads and validates environment configuration.src/index.tsexports library primitives for programmatic use.
npm run check
npm run build
npm pack --dry-run