| Crates.io | smart_tasker |
| lib.rs | smart_tasker |
| version | 0.2.1 |
| created_at | 2025-06-30 14:21:09.62712+00 |
| updated_at | 2025-07-02 16:08:14.956482+00 |
| description | A task tracking CLI tool written in Rust |
| homepage | |
| repository | https://github.com/Webrowse/smart-cli-tasker |
| max_upload_size | |
| id | 1731888 |
| size | 17,840 |
Smart Tasker is a fast, lightweight command-line task tracker written in Rust. It lets you add, list, complete, and delete tasks directly from the terminal. All tasks are saved locally in a JSON file (data/tasks.json) — no database or external setup required.
cargo install smart_tasker
Once installed, use it globally:
smart_tasker add "Write documentation"
smart_tasker list
smart_tasker complete 2
smart_tasker delete 1
| Command | Description |
|---|---|
add "task desc" |
Add a new task |
list |
Show all tasks |
complete <id> |
Mark the task with given ID complete |
delete <id> |
Delete the task with given ID |
Task IDs are shown in the list output. They start from 1.
src/
├── main.rs # CLI entry point and Clap logic
├── commands/ # add.rs, list.rs, complete.rs, delete.rs
├── models/ # task.rs (Task struct, derives Serde)
├── storage/ # file.rs (load, save, show)
data/
└── tasks.json # Local JSON file storing tasks
This project is open source and freely usable under the MIT license.
See LICENSE for details.
Created by Adarsh as a hands-on project while learning Rust.
Feel free to fork, improve, or use it as a learning reference.