https://github.com/wowinter13/todo_list
https://github.com/wowinter13/todo_list
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wowinter13/todo_list
- Owner: wowinter13
- Created: 2024-08-09T00:12:59.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-11T23:08:57.000Z (9 months ago)
- Last Synced: 2025-01-23T19:51:47.648Z (4 months ago)
- Language: Rust
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TODO List
### Usage:
**Description:**
`cargo run -- help`
`cargo run -- help `**To list all tasks:**
`cargo run -- list`**To add a new task:**
`cargo run -- add "Task Title" "Task Description" "2023-05-20 10:00" "cat1"`**To mark a task as done:**
`cargo run -- done "Task Title"`**To update a task:**
`cargo run -- update "Task Title"`**To delete a task:**
`cargo run -- delete "Task Title"`**To select tasks based on a predicate:**
`cargo run -- select 'date < "2024-12-12 00:00" and category="cat2" and status="on" and description like "Task"'`----
### Running tests
`cargo test`
----
### TODO:
- To implement `Drop` trait for tests
- To persist tasks to DBDo what you must...I will watch you.
![]()