Accio is a blazing-fast, modern, and user-friendly command-line tool built in Rust.
It provides functionality similar to Unix file utilities such as listing, locating, and managing files using multi-threading, progress indicators, and tiny footprint performance.
- Lightweight and compiled with Rust’s zero-cost abstractions
- Sub-command architecture using
clap - Dynamic progress spinners with
indicatif - Optional multi-core parallel search using
rayon - Clean professional CLI with automatic help and version flags
- Reports execution time (e.g.,
2m 32secsformat)
-
Install Rust (via rustup.rs)
-
Clone this repository:
git clone https://github.com/<your-username>/accio.git cd accio
-
Build:
cargo build --release
-
Run:
cargo run -- <COMMAND>
accio --helpaccio pwdaccio lsaccio search <filename>Example:
accio search report.txtWhen executed, you will be prompted for:
Enter directory path to scan: D:\Projects
Use parallel search (Rayon)? (y/n): y
Starting parallel search...
✔ Found the following files: (Completed in 1m 34secs)
D:\Projects\Docs\report.txt
clapprovides declarative argument parsing and help.indicatifdisplays real-time scanning progress.rayonprovides optional parallel recursive scanning using all CPU cores.- Both sequential and parallel modes measure execution time using Rust’s built-in timers.
| Command | Description |
|---|---|
pwd |
Prints the current working directory |
ls |
Lists all files and folders in the current directory |
search <filename> |
Recursively searches for the specified filename in a given directory |
-h, --help |
Displays help information |
--version |
Displays the version number |
Enter directory path to scan: C:\Users\Steve\Downloads
Use parallel search (Rayon)? (y/n): n
Starting sequential search...
✔ Found the following files: (Completed in 2m 10secs)
C:\Users\Steve\Downloads\report.txt
- Language: Rust 1.74+
- CLI Framework: Clap (v4.5)
- Progress Display: Indicatif
- Parallel Engine: Rayon
- Project Type: Command-Line Application
cargo run -- search notes.txtcargo build --release
./target/release/accio ls--pathand--parallelflags (non-interactive mode)- File content text search (like
grep) - JSON output mode for integrations
- Cross-platform packaging (
.exe,.deb,.tar.gz)
Licensed under the MIT License. See the LICENSE file for details.
Built with Rust, powered by: