https://github.com/wowinter13/todo_list
https://github.com/wowinter13/todo_list
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wowinter13/todo_list
- Owner: wowinter13
- Created: 2024-08-09T00:12:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-11T23:08:57.000Z (over 1 year ago)
- Last Synced: 2025-01-23T19:51:47.648Z (about 1 year 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 DB
Do what you must...I will watch you.