Skip to content

saibaneer/simple-to-do-manager-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToDoList CLI Application

A simple command-line interface (CLI) application to manage a to-do list.

Features

  • Add new tasks
  • List all tasks
  • Get a specific task by index
  • Remove a task by index
  • Mark a task as done or not done
  • Edit the name of a task

Installation

Before you can use the ToDoList CLI, you need to ensure you have Rust installed on your machine. Follow the instructions on the official Rust website to install Rust.

Usage

After installing Rust, you can run the application using Cargo:

bash cargo run

Adding a Task

To add a new task to your to-do list, use the add subcommand: cargo run -- add "Your task here"

Listing All Tasks

To list all tasks in your to-do list, use the list subcommand: cargo run -- list

Getting a specific Task

To get a specific task by its index, use the get subcommand: cargo run -- get <index> Replace with the numeric index of the task you want to view.

Removing a Task

To remove a task from your to-do list by its index, use the remove subcommand: cargo run -- remove <index> Replace with the numeric index of the task you want to remove.

Marking a Task as Done or Not Done

To change the status of a task, use the mark_status subcommand: cargo run -- mark_status <index> <status> Replace with the task's index and with true to mark as done, or false to mark as not done.

Editing a Task

To edit the name of a task, use the edit subcommand: cargo run -- edit <index> "New task name" Replace with the task's index and "New task name" with the new name for the task.

Author

-- Gbenga Ajiboye

About

A simple To DO Manager CLI application in Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages