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.3.tar.gz (53.4 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.3-py3-none-any.whl (47.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bpsai_pair-0.2.3.tar.gz
  • Upload date:
  • Size: 53.4 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.3.tar.gz
Algorithm Hash digest
SHA256 be01e670cf6d7d4c5873e0386fc9903582fe9e5358f9b96ae16c5cd8e4f206e6
MD5 5f20c4b20eeea5743835470bd4656015
BLAKE2b-256 7bd9649d5d5a3f518e1812edb3d627bc6dc8cc10014507004f8f939e0f6e61fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bpsai_pair-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 47.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7990272c57017a4686fdf92629560d262d856f5cfd6e569113440f7f3893fc2f
MD5 865fe1ea79ea87eda924cb8841bce740
BLAKE2b-256 1f055159a291fa77e86f244a15d663ac2b56c38f6f22cc9f7a10b70012a0dae2

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