Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.1 KB

File metadata and controls

46 lines (32 loc) · 1.1 KB

Contributing to discli

Thanks for your interest in contributing!

Development Setup

This project uses uv for dependency management. Install it first if you don't have it: see https://docs.astral.sh/uv/#installation.

git clone https://github.com/DevRohit06/discli.git
cd discli
uv sync --dev
uv run pytest tests/ -v

Adding a New Command

  1. Create a new file in src/discli/commands/ (e.g. webhook.py)
  2. Define a click group or command following existing patterns
  3. Register it in src/discli/cli.py
  4. Add tests in tests/
  5. Update agents/discord-agent.md with the new command reference

Running Tests

uv run pytest tests/ -v

Commit Style

Use conventional commits:

  • feat: — new feature or command
  • fix: — bug fix
  • docs: — documentation only
  • chore: — maintenance, deps, CI

Releasing

Releases are automated via GitHub Actions. To release:

  1. Bump version in pyproject.toml
  2. Commit and push
  3. Tag: git tag v0.2.0 && git push origin v0.2.0
  4. CI builds, tests, creates GitHub Release, and publishes to PyPI