Rust Todo List App is a command-line tool written in Rust that allows users to manage their tasks efficiently. Whether you need to add, mark as done, edit, or clear tasks from your todo list, this app provides essential functionalities to streamline your task management process. Additionally, I have integrated sqlite3 using the rusqlite
crate. The database stores the data and will persist indefinitely until you manually delete it.
- List tasks: Display all tasks in the todo list.
- Add task: Add a new task to the todo list.
- Complete task: Mark a task as completed.
- Edit task: Modify an existing task.
- Clear list: Clear the todo list at once.
-
To use Rust File Operations, you need to have Rust installed on your system. You can install Rust from here.
-
Clone the repository using this command.
git clone https://github.com/Harikesh-14/Rust-TodoX.git
- To generate the target folder, enter the given below command
cargo build
- To run the program, use the given below rule
cargo run <operation> [task_id]
To add a new task to the todo list, use the following command:
cargo run add
Now, you will be asked to enter the task name. Write it and press enter
.
To mark the command as 'mark as done', use the following command:
cargo run done
To show the list of tasks, use the following command:
cargo run show
To update the tasks name, use the following command:
cargo run edit
Now, you will be asked to enter the task name. Write it and press enter
.
To clear the todo list at once, use the following command:
cargo run clear all
This TodoX provides a simple yet powerful way to manage your tasks using the Rust programming language. Whether you're tracking your daily to-dos or managing a project, this app has you covered.
If you encounter any issues or have suggestions for improvement, feel free to open an issue on our GitHub repository. Happy task managing with Rust! 🚀