This is my implementation of the following exercise to learn Rust cli project
Author: Antoine Montiel
Description: simple grep command to find for a string into a document. Returns the lines containing the query.
Build the project using make all
(or make all-dev
).
This calls cargo build --release
and copies the binary from target/release
to the root of the repository.
Run using ./minigrep bog poem.txt
.
The core of the project lies in src/lib/
.