Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/angkushsahu/rust-cli
A simple command line interface using rust from the rust lang book.
https://github.com/angkushsahu/rust-cli
rust
Last synced: 5 days ago
JSON representation
A simple command line interface using rust from the rust lang book.
- Host: GitHub
- URL: https://github.com/angkushsahu/rust-cli
- Owner: angkushsahu
- Created: 2024-02-28T14:24:07.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-28T15:46:11.000Z (9 months ago)
- Last Synced: 2024-04-17T01:09:18.571Z (7 months ago)
- Topics: rust
- Language: Rust
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RUST CLI
A simple command line interface using rust from the [rust lang book](https://doc.rust-lang.org/book/). Learning rust from the Rust lang book by building a minigrep version for searching a particular word from a given text file.
## Commands
Print the lines containing the words you are searching for.
format: cargo run \ \
```bash
cargo run to poem.txt
```*Through the above query, we are searching for the word `to` inside the `poem.txt` file.*
Print the lines containing the words you are searching for inside a file which will be created in the root directory of the project.
format: cargo run \ \ > \
```bash
cargo run to poem.txt > output.txt
```*Through the above query, we are searching for the word `to` inside the `poem.txt` file and print the available lines in a file*
## Tech Stack
![Rust](https://skillicons.dev/icons?i=rust&theme=dark)