Skip to content

itsNavinSingh/TaskManagerCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ Task Manager CLI in Rust

This is a simple Task Manager implemented in Rust using the Command Line Interface (CLI). It allows you to view, add, edit, delete and save tasks to a file in binary format using bincode for encoding and decoding.

πŸš€ Features

  • Add new tasks with a title and completion status.
  • Edit existing tasks' title and status.
  • Delete tasks by index.
  • Save tasks to a binary file using bincode.
  • Load tasks from the binary file on startup.
  • Display tasks in a table format.
  • Colored Output.

πŸ—οΈ Project Structure

root/
β”œβ”€β”€ src/
    β”œβ”€β”€ main.rs
β”œβ”€β”€ .gitignore
β”œβ”€β”€ Cargo.lock
β”œβ”€β”€ Cargo.toml

πŸ› οΈ Installation

  1. Install Rust from https://rustup.rs.
  2. Clone this repository.
  3. Navigate to the project directory.
  4. Run cargo build to build the project.

🧠 How to Use

  1. Run the project using cargo run.
  2. Follow the on-screen prompts to manage tasks.

πŸ’Ύ Data Storage

Tasks are stored in data.bin using the bincode library for efficient encoding and decoding.

πŸ“¦ Dependencies

[dependencies]
bincode = { version = "2.0.1" }

πŸ† Example Output

S.N   Status         Title
------------------------------------------
0     Completed      Sample Task

πŸ‹οΈβ€β™‚οΈ Future Improvements

  • Add Task Creation date & time
  • Add support for setting task deadlines.
  • Implement sorting and filtering.

About

Simple CLI Task Manager implementation in Rust

Topics

Resources

Stars

Watchers

Forks

Languages