Skip to main content

CLI for AI pair-coding workflow

Project description

bpsai-pair CLI

The PairCoder CLI tool for AI pair programming workflows.

Quick Start

Install from PyPI

pip install bpsai-pair
bpsai-pair --help

Development Install

cd tools/cli
pip install -e .
bpsai-pair --help

Usage

Initialize scaffolding (uses bundled template)

bpsai-pair-init
# or with main CLI:
bpsai-pair init

Create feature branch

bpsai-pair feature auth-refactor \
  --type refactor \
  --primary "Decouple auth via DI" \
  --phase "Refactor auth module + tests"

Pack context for AI

bpsai-pair pack --out agent_pack.tgz
bpsai-pair pack --list  # Preview files
bpsai-pair pack --json  # JSON output

Update context loop

bpsai-pair context-sync \
  --last "Initialized scaffolding" \
  --next "Set up CI secrets" \
  --blockers "None"

Commands

  • bpsai-pair init - Initialize repo with PairCoder structure
  • bpsai-pair-init - Quick init with bundled template (no args)
  • bpsai-pair feature - Create feature/fix/refactor branch
  • bpsai-pair pack - Package context for AI agents
  • bpsai-pair context-sync - Update the Context Loop
  • bpsai-pair status - Show current state
  • bpsai-pair validate - Check repo structure
  • bpsai-pair ci - Run local CI checks

Development

Run tests:

pytest

Build wheel:

python -m build

Template

The CLI bundles a cookiecutter template in bpsai_pair/data/cookiecutter-paircoder/ that gets installed with the package and used by bpsai-pair-init.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bpsai_pair-0.2.2.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bpsai_pair-0.2.2-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

Details for the file bpsai_pair-0.2.2.tar.gz.

File metadata

  • Download URL: bpsai_pair-0.2.2.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for bpsai_pair-0.2.2.tar.gz
Algorithm Hash digest
SHA256 678e9dc9155152c830ea45f13e5238b087abd8e231bda6511c89017c13732a61
MD5 f0e4bcf0cd7f0ac31f0c4682c5b177f4
BLAKE2b-256 40e25209a52e46a94fd93b57e0d5e98fbb9445271ca0b3541fc3a99ecd97328a

See more details on using hashes here.

File details

Details for the file bpsai_pair-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: bpsai_pair-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 34.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for bpsai_pair-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cc91f015d847a1fad4d66beb609fb95c052e09743c999908fb652e14cefee73b
MD5 78d9e873efadff2632996d8e37549058
BLAKE2b-256 94a750f3ba49cefacfd198743bcd6358dbd5622ccb83fca2208bc5caa73d4dee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page