| Crates.io | todo-rust |
| lib.rs | todo-rust |
| version | 1.0.1 |
| created_at | 2024-04-29 08:49:23.009262+00 |
| updated_at | 2024-05-02 06:34:38.691067+00 |
| description | CLI program to manage todo list. |
| homepage | |
| repository | https://github.com/falcon71181/ToDo-rust |
| max_upload_size | |
| id | 1223998 |
| size | 59,086 |
This is a simple command-line interface (CLI) todo program written in Rust.
To install this program, you'll need Rust installed on your system. If you don't have it installed, you can get it from here.
Once Rust is installed, you can build the program using Cargo:
cargo build --release
After successful compilation, you can copy the executable to a directory in your PATH, for example:
cp target/release/todo-rust /usr/local/bin/todo
The following commands are available:
list or list-all: Lists all the tasks.list-done: Lists only the completed tasks.list-undone: Lists only the tasks that are not completed.add <task>: Adds a new task.rm <task_index>: Removes the task at the specified index.rm-all: Removes all tasks.done <task_index>: Marks the task at the specified index as done.undone <task_index>: Marks the task at the specified index as undone.sort or sort-asc: Sorts the tasks in ascending order.sort-dsc: Sorts the tasks in descending order.sort-done or sort-done-asc: Sorts the completed tasks in ascending order.sort-done-dsc: Sorts the completed tasks in descending order.sort-undone or sort-undone-asc: Sorts the tasks that are not completed in ascending order.sort-undone-dsc: Sorts the tasks that are not completed in descending order.todo/config.ini).todo/config.