#search-file #search #file #cli #file-reader

app mite

A command-line tool for searching words in files

1 unstable release

0.1.0 Jan 8, 2025

#901 in Command line utilities

Download history 143/week @ 2025-01-08

143 downloads per month

MIT license

5KB

Mite - "Look" (見て)

Mite is a command-line file reader that allows you to search for a specific word within a file and prints the line containing that word. Interestingly, "Mite" is a Japanese word meaning "Look" (見て).

Features

  • Search for a word in a specified file
  • Display the line containing the searched word

Installation

To install Mite, clone the repository and build the project using Cargo:

git clone https://github.com/thejohncaleb/mite.git
cd mite
cargo build --release

Usage

To use Mite, run the following command:

mite <word> <file_path>
  • <word>: The word you want to search for in the file.
  • <file_path>: The path to the file you want to search.

Example:

mite example /path/to/file.txt

This command will print the line containing the word "example" from the specified file.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Dependencies

~1.1–1.7MB
~31K SLoC