1 unstable release
0.1.2 | Nov 28, 2024 |
---|
#1744 in Command line utilities
150 downloads per month
22KB
318 lines
CLI App
A Rust-based CLI application providing Unix-like tools, including echo
, cat
, ls
, find
, grep
, diff
, cmp
, head
, and tail
.
Features
- echo: Prints arguments to the console.
- cat: Displays the contents of a file.
- ls: Lists files and directories.
- find: Searches for files in directory that match specified substring.
- grep: Searches for pattern in files and shows applicable matches.
- diff: Compares two files line by line and shows differences along with its line numbers.
- cmp: Compares two files to see if they are identical. States if they are or aren't.
- head: Displays first 10 lines of a file.
- tail: Displays last 10 lines of a file.
Installation
Once published, install using:
cargo install cli_app
Dependencies
~1.1–1.7MB
~31K SLoC