- Add clap dependency with derive feature for structured CLI argument parsing - Replace env::args() manual matching with clap subcommands (fetch, best, missing, wishlist, trash, details, track) - Change print_best_car() signature from (&String, &String, &String) to (&str, &str, u8) for idiomatic Rust - Add TODO.md tracking known tech debt and planned features - Update CHANGELOG.md with clap migration details and set v0.2.0 release date
946 B
946 B
- Move shell post-processing into Rust —
full_scriptdoessort,grep, file splitting via shell. Add native subcommands (very-best,add,remove) or CLI flags (--min-count,--sort-by) so the binary produces the final files directly. Modify the script to export to files, nothing else. - Correct
+prefix semantics —+means "not on wishlist". It is not needed inbest/missingoutput but is used as "add to wishlist". Since we incorporated the wishlist actions into the application, the prefix can go. - Add
allsubcommand —full_scriptruns 5 commands sequentially, each parsing all timing files independently. A singleallcommand would parse once and write all outputs, cutting runtime ~80%. - Document the daily workflow — README and USER_GUIDE don't explain
full_scriptor the relationship between Rust output and the files (sorted.csv,very_best.csv,wishlist.csv,add.csv).