| Crates.io | task-tracker-cli |
| lib.rs | task-tracker-cli |
| version | 0.1.0 |
| created_at | 2025-12-10 09:04:21.510344+00 |
| updated_at | 2025-12-10 09:04:21.510344+00 |
| description | A lightweight, fast Rust command-line task tracker for managing TODOs and simple tasks locally. Designed to be minimal, scriptable, and user-friendly with beautiful formatted output. |
| homepage | https://github.com/nXhermane/rust_task-tracker_cli |
| repository | https://github.com/nXhermane/rust_task-tracker_cli |
| max_upload_size | |
| id | 1977708 |
| size | 62,577 |
A lightweight, fast Rust command-line task tracker for managing TODOs and simple tasks locally. Designed to be minimal, scriptable, and user-friendly with beautiful formatted output.
Clone and build locally:
git clone https://github.com/nXhermane/task-tracker-cli.git
cd task-tracker-cli
cargo build --release
# optional: install to cargo bin directory
cargo install --path .
cargo run -- add "Buy groceries"
cargo run -- list
cargo run -- mark-in-progress 1
cargo run -- done 1
cargo run -- remove 1
cargo run -- edit 1 "Read Rust book chapter 7"
cargo run -- get 1
Tasks are stored in a simple local file (e.g., temp/tasks.json or a user data directory). The format is human-readable JSON to allow manual edits and easy interoperability.
cargo run -- list
RUST_LOG=debug cargo run -- add "My task"
RUST_LOG=trace cargo run -- list # Very detailed
RUST_LOG=debug cargo run -- list # Technical details
RUST_LOG=info cargo run -- list # Info/warn/error only (default)
src/
├── lib.rs # Library root with module declarations
├── main.rs # CLI entry point and command parsing
├── models/
│ ├── mod.rs # Model traits (Serializable, Identifiable)
│ └── task_status.rs # TaskStatus enum
├── task/
│ ├── mod.rs # Task struct and Serializable impl
│ └── manager.rs # TaskManager and IdGenerator structs
├── storage/
│ ├── mod.rs # Storage trait definition
│ └── file_storage.rs # FileStorage implementation
├── ui/
│ ├── mod.rs # UI module
│ └── display.rs # display_task and display_tasks functions
└── cli/
├── mod.rs # CLI types (TaskOperation, TaskCommand)
└── commands.rs # Command execution logic
Run tests:
cargo test
Format and lint:
cargo fmt
cargo clippy -- -D warnings
Licensed MIT. See LICENSE file for details.
Open an issue in the repository.