Thank you for your interest in contributing to aidocs-cli!
-
Clone the repository:
git clone https://github.com/binarcode/aidocs-cli.git cd aidocs-cli -
Install dependencies with uv:
uv sync
-
Run locally:
uv run aidocs --help
Important: When creating a PR, you must update the version number in two files:
pyproject.toml- Update theversionfieldsrc/aidocs_cli/__init__.py- Update the__version__variable
Both files must have the same version number.
We use Semantic Versioning:
- Patch (0.15.x → 0.15.y): Bug fixes, minor changes
- Minor (0.x.0 → 0.y.0): New features, non-breaking changes
- Major (x.0.0 → y.0.0): Breaking changes
Our release workflow reads the version from pyproject.toml and automatically:
- Creates a GitHub release with that version
- Publishes to PyPI
- Updates the Homebrew formula
If you don't bump the version, no release will be created when your PR is merged.
- Fork the repository
- Create a feature branch (
git checkout -b feature/my-feature) - Make your changes
- Bump the version in both files
- Commit your changes
- Push to your fork
- Open a Pull Request
- Follow PEP 8 for Python code
- Use type hints where possible
- Keep functions focused and well-documented
Open an issue if you have questions or need help.