First off, thank you for considering contributing to xtop! It's people like you that make this tool better.
- Ensure the bug was not already reported by searching on GitHub under Issues.
- If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring.
- Open a new issue with the
enhancementlabel. - Provide a clear and detailed explanation of the feature you want and why it's important.
- Fork the repository and create your branch from
main. - Ensure you have installed the necessary dependencies (Rust & Cargo).
- Make your changes and test them locally using
cargo run. - Run
cargo fmtandcargo clippyto ensure code quality and formatting. - Create a pull request. Make sure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
# Clone the repository
git clone https://github.com/xscriptor/xtop.git
cd xtop
# Build the project
cargo build
# Run the project
cargo run
# Run tests (if applicable)
cargo testIf you have questions or need help, feel free to reach out via GitHub issues or discussions (if enabled).