A simple command-line application to manage a to-do list. This app allows you to add, view, and remove tasks, and save/load the to-do list from a JSON file.
- Add Tasks: Add new tasks to your to-do list with a description.
- View Tasks: View all tasks in your to-do list.
- Remove Tasks: Remove tasks from your to-do list by their ID.
- Persistent Storage: Save and load your to-do list from a JSON file.
To set up and run this Todo App, follow these steps:
-
Clone the repository:
git clone https://github.com/murderermaya/todo_app.git cd todo_app
-
Install Rust (if not already installed):
Follow the instructions on the official Rust website.
-
Build the project:
cargo build
-
Run the project:
cargo run -- <command> [args]
To add a new task to your to-do list:
cargo run -- add "Your task description here"
To remove a task from your to-do list:
cargo run -- remove [ID]
To view the tasks in your to-do list:
cargo run -- view