-
Notifications
You must be signed in to change notification settings - Fork 3
6. Contributing
ANKDDEV edited this page Mar 25, 2025
·
2 revisions
- Install Rust. If it already installed, update with
$ rustup update- Fork this project using button
Forkon the top of this page - Clone your fork (replace
<YOUR_USERNAME>with your username on GitHub):
$ git clone https://github.com/<YOUR_USERNAME>/envfetch.git- Go to directory, where you cloned envfetch:
$ cd envfetch- Run program using Cargo (replace
<COMMAND>and<ARGS>to your command and args):
$ cargo run -- <COMMAND> <ARGS>- Or, install it globally on your PC using:
$ cargo install --path .- Read section above to build
envfetchfrom source - Create new branch
- Made your changes
- Test that everything works correctly
- Format and lint code with
$ cargo fmt
$ cargo clippy --fix- Run tests with
$ cargo test- Push changes
- Open pull request
Find some information about project structure here.