Ian Rettig
|
28d6c8cccd
|
Move main to grrs in bin directory.
|
2025-06-11 11:20:34 -04:00 |
|
Ian Rettig
|
28373951f4
|
Feat: Add test case covering empty string.
|
2025-06-09 13:59:36 -04:00 |
|
Ian Rettig
|
41a2027624
|
Feat: Add test for finding content in file.
|
2025-06-09 13:39:41 -04:00 |
|
Ian Rettig
|
5a515fc5ed
|
Add: assert_fs crate.
|
2025-06-09 13:36:50 -04:00 |
|
Ian Rettig
|
f8ba601721
|
Feat: Add integration test for file not exist.
|
2025-06-09 13:35:16 -04:00 |
|
Ian Rettig
|
1841e2287a
|
Add: assert_cmd and predicates are dev crates.
|
2025-06-09 13:32:29 -04:00 |
|
Ian Rettig
|
946f4a5466
|
Feat: move find_matches to a library.
|
2025-06-09 13:32:16 -04:00 |
|
Ian Rettig
|
bcb4cba5e1
|
Feat: Add erroor handling to find_matches.
|
2025-06-09 13:16:29 -04:00 |
|
Ian Rettig
|
bbf4da2859
|
Feat: Add test case for find_matches
Slight find_matches rewrite to use Write trait.
|
2025-06-09 11:58:43 -04:00 |
|
Ian Rettig
|
7cca8410e1
|
Feat: extract find_matches into own function.
|
2025-06-09 11:47:23 -04:00 |
|
Ian Rettig
|
ec63f6f022
|
Feat: Add small test case for practice.
|
2025-06-09 11:43:17 -04:00 |
|
Ian Rettig
|
0117b99006
|
Feat: add in logger.
|
2025-06-09 11:36:59 -04:00 |
|
Ian Rettig
|
6af058de3b
|
Add: env_logger crate.
|
2025-06-09 11:32:54 -04:00 |
|
Ian Rettig
|
9f094d57b2
|
Add: log crate.
|
2025-06-09 11:31:24 -04:00 |
|
Ian Rettig
|
aac29186bf
|
Feat: use anyhow for error reporting.
I don't think that the error will properly be reported due to only printing
lines that match the pattern.
|
2025-06-09 10:58:24 -04:00 |
|
Ian Rettig
|
5c396c8adc
|
Add: anyhow package.
|
2025-06-09 09:57:33 -04:00 |
|
Ian Rettig
|
f9418783d4
|
Feat: Add custom error message.
|
2025-06-06 17:50:44 -04:00 |
|
Ian Rettig
|
d7d2c74b23
|
Feat: question mark unwrap.
|
2025-06-06 17:02:32 -04:00 |
|
Ian Rettig
|
d41577ef7d
|
Feat: return error in unwrap.
|
2025-06-06 17:00:21 -04:00 |
|
Ian Rettig
|
3ff1454fb6
|
Feat: Use unwrapping for error handling.
|
2025-06-06 16:55:57 -04:00 |
|
Ian Rettig
|
a663f2b4d8
|
Feat: set up manual error handling.
|
2025-06-06 14:46:21 -04:00 |
|
Ian Rettig
|
6e23ccc0cc
|
Feat: Create simple grep function.
|
2025-06-06 13:17:01 -04:00 |
|
Ian Rettig
|
892fd43b53
|
Feat: Use clap for argument parsing.
|
2025-06-06 12:18:53 -04:00 |
|
Ian Rettig
|
f28b89e7f9
|
Feat: Add clap arg parser to project.
Only derive feature.
|
2025-06-06 12:12:07 -04:00 |
|
Ian Rettig
|
7c9c069801
|
Feat: simple struct usage.
|
2025-06-06 12:05:21 -04:00 |
|
Ian Rettig
|
7c7fbacc10
|
Feat: Add cli struct.
|
2025-06-06 12:00:56 -04:00 |
|
Ian Rettig
|
76993f4d63
|
Feat: basic argument parsing.
|
2025-06-06 12:00:41 -04:00 |
|
Ian Rettig
|
427010a5c2
|
Add cargo lock
|
2025-06-06 11:42:31 -04:00 |
|
Ian Rettig
|
fcb91d4b87
|
Initial commit, cargo init.
|
2025-06-06 11:40:01 -04:00 |
|