Skip to main content

Commander

CLI framework orchestration and AI-powered command execution.

Note: This project was extracted from claude-mpm to serve as a standalone CLI framework.

Installation

# Basic installation
pip install ai-commander

# With OAuth support
pip install ai-commander[oauth]

# Development installation
pip install -e ".[dev]"

Usage

# Run commander
commander --help

Development

Setup

# Clone the repository
git clone https://github.com/masa/commander.git
cd commander

# Create virtual environment
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install with dev dependencies
pip install -e ".[dev]"

# Install pre-commit hooks
pre-commit install

Running Tests

# Run tests with coverage
pytest

# Run specific test file
pytest tests/test_example.py -v

Code Quality

# Run linter
ruff check src/ tests/

# Run formatter
ruff format src/ tests/

# Run type checker
mypy src/

License

MIT License - see LICENSE for details.

Metadata

Release files for ai-commander 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-commander 0.1.0
File Size Uploaded
ai_commander-0.1.0.tar.gz 251.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ai-commander 0.1.0
File Interpreter ABI Platform
ai_commander-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 456.7 kB

Release files / ai_commander-0.1.0.tar.gz

Download URL ai_commander-0.1.0.tar.gz
Size 251.4 kB
Tags Source
SHA-256 checksum
How to use checksums
045dbdeebb7a950fa09452b53a5e5c5f9b6fe76ac44201ce335137f17b03f812
BLAKE2b-256 checksum
How to use checksums
d1c0596ab93c7ce827d687d98086682c701ff16de7b112fa09ea11afc7ca1c48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / ai_commander-0.1.0-py3-none-any.whl

Download URL ai_commander-0.1.0-py3-none-any.whl
Size 205.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c9201207fd795dd967d663b42631f6b3628020a6abf756a79e64a0117d2d06ed
BLAKE2b-256 checksum
How to use checksums
d08a085250820b560a16872c413995773f9609b6f8aa827e67b75555238a45dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page