Thank you for your interest in contributing to OpenCLI!
- Rust 1.70+ (for CLI client)
- Dart 3.0+ (for daemon)
- Git
git clone https://github.com/opencli/opencli.git
cd opencli
# Build CLI client
cd cli
cargo build
# Build daemon
cd ../daemon
dart pub get
dart compile exe bin/daemon.dart- Follow official Rust style guide
- Run
cargo fmtbefore committing - Run
cargo clippyand fix warnings
- Follow effective Dart guidelines
- Run
dart format .before committing - Run
dart analyzeand fix issues
# Rust tests
cd cli
cargo test
# Dart tests
cd daemon
dart test- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Write clear, descriptive commit messages
- Include tests for new features
- Update documentation as needed
- Ensure CI passes
- Keep PRs focused on a single feature/fix
By contributing, you agree that your contributions will be licensed under the MIT License.