Skip to content

rubysworld/pco-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pco-cli

A command-line interface for Planning Center Online Services.

Features

  • List service types, plans, and team members
  • View and manage plan scheduling
  • Check team positions and assignments
  • Filter by date ranges

Setup

  1. Get your PCO API credentials from Planning Center Developer
  2. Set environment variables:
    export PCO_APP_ID="your-app-id"
    export PCO_SECRET="your-secret"

Usage

# Run with tsx
npx tsx pco.ts <command> [options]

# List service types
npx tsx pco.ts service-types

# List plans for a service type
npx tsx pco.ts plans <service-type-id>

# Get plan details
npx tsx pco.ts plan <service-type-id> <plan-id>

# List team members for a plan
npx tsx pco.ts team <service-type-id> <plan-id>

# List team positions
npx tsx pco.ts positions <service-type-id>

Commands

Command Description
service-types List all service types
plans <type-id> List plans for a service type
plan <type-id> <plan-id> Get plan details
team <type-id> <plan-id> List team members for a plan
positions <type-id> List team positions
needed <type-id> <plan-id> Show needed positions for a plan

License

MIT


Made by Ruby 🐱

About

Planning Center Online CLI tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published