mirror of
https://github.com/pandorafuture/wx-cli.git
synced 2026-08-29 04:00:55 +00:00
- 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)
49 lines
1.0 KiB
Markdown
49 lines
1.0 KiB
Markdown
# Contributing
|
|
|
|
Contributions are welcome! Here's how to get started.
|
|
|
|
## Development Setup
|
|
|
|
```bash
|
|
# 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](https://github.com/pandorafuture/wx-cli/issues) 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.
|