OSD600 Lab 2
🔔 Prelude: About the process of contributing a code change to another project 🖋️ Main Content The project repo: https://github.com/RiverDave/rust-cli-tool Your issue: https://github.com/RiverDave/rust-cli-tool/issues/27 Your pull request: https://github.com/RiverDave/rust-cli-tool/pull/28 1. What I did Briefly speaking, I did: First take a look at the whole project to see the current situation Check if the “recent file” feature has been implemented Analyze code base to see how to add custom commands Search online for obtaining file metadata in certain language Raise issue, fork repo, switch branch, develop logics Test my code Update documentation Create PR Communicate with repo owner Close issue Write blog 1.1 The changes I made for my feature I found the rust project used clap — a famous and solid Command Line Argument Parser for Rust. ...