This is a command-line interface (CLI) application for managing todo tasks, written in Rust.
- Add new tasks with a title and description
- View a list of all tasks
- Update task title and description
- Delete completed tasks
- Mark tasks as completed
-
Clone the repository:
git clone https://github.com/imhimansu28/todo-cli.git
-
Navigate to the project directory:
cd todo-cli
-
Build the project:
cargo build --release
-
Run the application:
./target/release/todocli
-
Follow the on-screen prompts to interact with the todo application.
serde
for serialization and deserialization of task dataserde_json
for JSON serialization and deserializationstd::fs
for file I/O operationsstd::io
for input/output operations
src/main.rs
: Contains the main application logic and user interactionsrc/todo.rs
: Defines theTask
andTodo
structs and their associated methodstasks.json
: Stores the task data in JSON format
- The Rust programming language and its ecosystem
- The
serde
andserde_json
crates for easy serialization and deserialization