Commit graph

11 commits

Author SHA1 Message Date
Mohammad Kanaan
a1c13d4342 fix read_lines to better handle errors 2026-07-27 21:29:57 +03:00
Mohammad Kanaan
0f57d037e0 refactor: extract Cli and add CliOptions struct
test: fix failing test
fix: applied clippy suggested fixes
2026-07-27 21:19:14 +03:00
Mohammad Kanaan
0e20aff140 fix: build regex once instead of once per file 2026-07-27 20:44:53 +03:00
Mohammad Kanaan
8452eae0f4 feat: add case insensitive mode 2026-07-27 20:44:32 +03:00
Mohammad Kanaan
ad6dc24d7e feat: add support for multiple files
refactor: replace String with PathBuf
2026-07-27 19:38:46 +03:00
Mohammad Kanaan
3a7df31b08 parser: test: add some tests 2026-07-27 13:20:13 +03:00
Mohammad Kanaan
c7002aef34 fix: improve get_file_name_from_path to use std Path 2026-07-27 13:08:12 +03:00
Mohammad Kanaan
0a67beb76f fix: line numbers now start at 1 2026-07-27 13:03:14 +03:00
Mohammad Kanaan
660b710cac feat: improve match_pattern to surface errors and avoid collecting everything at once
feat: implement Match and Matches to hold more info and display it
2026-07-27 13:00:04 +03:00
Mohammad Kanaan
d58ae9ffbe feat: implement basic pattern matching 2026-07-27 12:06:03 +03:00
Mohammad Kanaan
452483b1b3 feat: implement an iterator to get the test with a test consumer 2026-07-27 11:43:59 +03:00