Thank you for your interest in contributing! This document provides guidelines for contributing to this project.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/webull-openapi-cli.git - Create a feature branch:
git checkout -b feature/your-feature - Make your changes
- Run tests:
make test - Run linter:
make lint - Commit your changes:
git commit -m "feat: add your feature" - Push to your fork:
git push origin feature/your-feature - Open a Pull Request
- Go 1.22 or later
- Make
make buildmake testmake lint- Follow standard Go conventions (
gofmt,go vet) - All exported types and functions must have doc comments
- Keep functions focused and small
- Error messages should be lowercase and not end with punctuation
- All code, comments, and documentation must be in English
Follow Conventional Commits:
feat:— New featurefix:— Bug fixdocs:— Documentation onlyrefactor:— Code change that neither fixes a bug nor adds a featuretest:— Adding or updating testschore:— Maintenance tasks
- One PR per feature or fix
- Include tests for new functionality
- Update documentation if needed
- Ensure CI passes before requesting review
- Keep PRs focused and reasonable in size
- Use GitHub Issues
- Include steps to reproduce
- Include expected vs actual behavior
- Include CLI version (
webull version) - Include OS and Go version
Be respectful, constructive, and professional in all interactions.
By contributing, you agree that your contributions will be licensed under the Apache License 2.0.