How sioodmy/todo works
todo is a small Rust command-line task manager. The user invokes a command; src/main.rs constructs Todo and dispatches to its operations in src/lib.rs, which reads and updates a plain-text task file and prints results. The README documents add, edit, list, done, remove, reset/restore, sort, and raw-output capabilities. Source excerpts show task-file handling and reset backups; restore is documented but its implementation was not shown, so that relationship is unverified.
Main entry points: lib.rs Todo manager · main.rs Command dispatch
Components 7
CLI entry
- Command dispatch
src/main.rs
Task operations
- Todo manager
src/lib.rs - Task entries
src/lib.rs
Local storage
- Task file
- Backup file
Other components
- User
- Terminal output
Connections 7
- User → Command dispatch: runs command
README.md - Command dispatch → Todo manager: constructs and dispatches
src/main.rs - Todo manager → Task file: loads and updates
src/lib.rs - Todo manager → Task entries: parses and formats
src/lib.rs - Todo manager → Backup file: backs up on reset
src/lib.rs - Todo manager → Backup file: restores backup
- Todo manager → Terminal output: prints task output
src/lib.rs