1 unstable release
0.1.0 | Dec 5, 2024 |
---|
#719 in Command line utilities
164 downloads per month
10KB
229 lines
CLI Tool
A CLI tool with multiple utilities including file management, sorting, and fetching random quotes.
Features
- Echo: Print text to the console.
- Cat: Display the contents of files.
- Ls: List directory contents.
- Rm: Remove files.
- Grep: Search for patterns within files.
- Date: Display the current date and time.
- Head: Display the first lines of a file.
- Tail: Display the last lines of a file.
- Clear: Clear the terminal screen.
- Touch: Create new files.
- Cp: Copy files.
- Mv: Move files.
- Sort: Sort file contents.
- RandomQuote: Display a random quote.
- Reverse: Reverse the contents of a file.
Usage
To use this CLI tool, run the following commands:
cargo run -- <command> [options]
Dependencies
~2.3–3MB
~55K SLoC