A Rust application to find text in files. Similar to the grep command.
Explore the docs »
·
Report Bug
·
Request Feature
Table of Contents
This is a simple CLI app, part of the course: https://www.udemy.com/course/curso-completo-rust/
To get a local copy up and running follow these simple example steps.
You need to have Cargo installed.
Just make sure to have Rust & Cargo installed.
This is a CLI application that needs two inputs: filepath and text to search.
For example, if you want to search for 'hello' in chat.txt
, you would do:
cargo run chat.txt hello
And the output will be all the results, line-separated.
- Make it beautiful, add colors
- Make it more verbose
- Add customization options
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Pol Milian - @polcodes - [email protected]
Project Link: https://github.com/el-pol/rust-minigrep