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.1.tar.gz (27.6 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.1-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bpsai_pair-0.2.1.tar.gz
  • Upload date:
  • Size: 27.6 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.1.tar.gz
Algorithm Hash digest
SHA256 63f9050194b40c86273f0eba4ba42122989c4ce80efeaa0eb0b94ac6940036b4
MD5 507bb7500e2a739b6c980a9b84b7348a
BLAKE2b-256 6e76b01e97bfcded76c6933154f889e1bb735a69531ae7c4f6a959a6579cb108

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bpsai_pair-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f9e0f8a619cc45951cd758277f1ac903184dad88d75b0bb27efa082a4867307
MD5 d0ea7d17bc1aff84063f5b4eb4f67e25
BLAKE2b-256 e1b584002a8ce7e3f1ffed62a01cafaf2e781c6044fc687681dd8a5142e8de4c

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