Files
wx-cli/CONTRIBUTING.md
pandorafuture e5646df42c chore: add open-source community files and CI workflow
- LICENSE (MIT)
- SECURITY.md (vulnerability reporting policy)
- CONTRIBUTING.md (development setup and contribution guide)
- CI workflow (fmt, clippy, test on push/PR)
- Issue templates (bug report, feature request)
- Dependabot config (cargo + github-actions weekly)
- Cargo.toml workspace metadata (license, repository, description)
2026-06-04 23:19:30 +08:00

1.0 KiB

Contributing

Contributions are welcome! Here's how to get started.

Development Setup

# Clone the repo
git clone https://github.com/pandorafuture/wx-cli.git
cd wx-cli

# Build
cargo build

# Run tests
cargo test

# Format & lint
cargo fmt --check
cargo clippy -- -D warnings

Submitting Changes

  1. Fork the repository and create a feature branch.
  2. Make your changes with clear, focused commits.
  3. Ensure cargo fmt, cargo clippy, and cargo test all pass.
  4. Open a pull request with a description of what changed and why.

Bug Reports

Open an issue with:

  • wx-cli version (wx-cli --version)
  • macOS version
  • WeChat version
  • Steps to reproduce
  • Expected vs actual behavior

Feature Requests

Open an issue describing the use case and proposed solution. Discussion before implementation is encouraged for larger changes.

Code Style

  • Follow standard Rust conventions (cargo fmt).
  • Keep changes minimal and focused.
  • Add tests for new functionality when feasible.