This is a simple command-line todo application written in Rust using the ZED editor.
The application supports the following commands:
add
: Adds tasks to the todo list.mark
: Marks a task as completed by specifying its line number.reset
: Clears the todo list.listC
: Lists all tasks with line numbers.listS
: Lists all tasks without date.remove
: Removes a task from the list by specifying its line number.
To use the application, follow these steps:
- Clone the repository.
- Navigate to the project directory.
- Define
TODO_PATH
as the file path fortodo.td
.
$ cargo run <command> arguments
$ cargo run add "Buy groceries" "Clean the house"