litegrep 0.1.1

A basic tool for searching in files for lines of text, based on a query.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Minigrep
This tool is the light version of the grep, developed while studing the [rust book](https://rust-book.cs.brown.edu/). It contains basic functionality for searching within a file from the command line.


## Usage
This project uses cargo as the package manager, therefore to run the program: 

### Run dev
`cargo run -- [search query] [filepath] [opts]`

#### Options
The only option available is `--case-sensitive`. This option enables you to search for words no matter the case of the letters, you can also set it as an environment variable as `IGNORE_CASE=true`. 

### Tests
`cargo test`