CLI framework orchestration and AI-powered command execution
Project description
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.
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
ai_commander-0.1.0.tar.gz
(251.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ai_commander-0.1.0-py3-none-any.whl
(205.3 kB
view details)
File details
Details for the file ai_commander-0.1.0.tar.gz.
File metadata
- Download URL: ai_commander-0.1.0.tar.gz
- Upload date:
- Size: 251.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
045dbdeebb7a950fa09452b53a5e5c5f9b6fe76ac44201ce335137f17b03f812
|
|
| MD5 |
064683809098ec1e44c34ba51db55e31
|
|
| BLAKE2b-256 |
d1c0596ab93c7ce827d687d98086682c701ff16de7b112fa09ea11afc7ca1c48
|
File details
Details for the file ai_commander-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ai_commander-0.1.0-py3-none-any.whl
- Upload date:
- Size: 205.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9201207fd795dd967d663b42631f6b3628020a6abf756a79e64a0117d2d06ed
|
|
| MD5 |
3fffed675390dadbbb92812d1de5295a
|
|
| BLAKE2b-256 |
d08a085250820b560a16872c413995773f9609b6f8aa827e67b75555238a45dd
|