| Crates.io | clodo |
| lib.rs | clodo |
| version | 0.1.2 |
| created_at | 2025-07-02 02:00:51.887691+00 |
| updated_at | 2025-07-02 02:00:51.887691+00 |
| description | A simple command-line todo list manager |
| homepage | |
| repository | https://github.com/fobabs/clodo |
| max_upload_size | |
| id | 1734348 |
| size | 45,728 |
A simple, command-line todo list application built in Rust. Manage your tasks with commands to add, list, mark as done, edit, and delete tasks. Todos are stored in a local JSON file and displayed with colored output for better readability.
todos.json file.colored crate for visual feedback (green for success/done, red for pending/errors, yellow for warnings).cargo install clodo
clodo --help
Run the program with clodo <command>. Available commands:
Add a Task:
clodo add "Your task here"
Adds a new task with an auto-assigned ID. Example output:
Task added successfully!
List Tasks:
clodo list
Displays all tasks. Example output:
Your Todos:
1: Write final report - ⬜ Pending
2: Buy groceries - ✔ Done
Mark Task as Done:
clodo done <id>
Marks a task as completed by ID. Example:
clodo done 1
Output: Task marked as done!
Edit a Task:
clodo edit <id> "New task description"
Updates the description of a task by ID. Example:
clodo edit 1 "Write final report draft"
Output: Task edited successfully!
Delete a Task:
clodo delete <id>
Removes a task by ID. Example:
clodo delete 1
Output: Task deleted successfully!
Tasks are stored in a todos.json file in the directory where clodo is run.
Example format:
{
"todos": [
{
"id": 1,
"task": "Write final report",
"done": false
}
],
"next_id": 2
}
done, edit, or delete, an error message is shown in red.clap crate for command-line parsing and colored for output styling.todos.json file.todos.json is missing, the program starts with an empty task list.clodo is licensed under either the MIT License or the Apache License 2.0, at your option. See the LICENSE file for details.
Contributions are welcome! Please fork the repository and submit a pull request. See CONTRIBUTING.md file for details.