Skip to content

A CLI Application that you can add to keep your tasks

Notifications You must be signed in to change notification settings

hakannisgav/TaskCli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Task Tracker CLI

Task Tracker CLI is a simple command-line application that allows you to add, update, mark, and delete tasks in a JSON file. The application also lets you view a list of tasks based on their status.

Sample solution for the task-tracker challenge from roadmap.sh.

Features

  • Add Task: Add a new task with a description and a default status of "to-do".

  • List Tasks: View a list of tasks based on their status ("to-do", "in progress", "done") or all tasks.

  • Update Task: Update the description and status of an existing task based on its ID.

  • Mark Task Status: Change the status of a task to "in progress" or "done" based on its ID.

  • Delete Task: Remove an existing task based on its ID.

Usage

Add Task

To add a new task, use the add command:

dotnet run  add  "Task Description"  "status"

List Task

To list tasks based on their status, use the list or list-by-status command. If no status is specified, it lists all tasks:

dotnet run list
dotnet run list-by-status "to-do"

Update Task

To update the description and status of an existing task, use the update command:

dotnet run update <id> "New Task Description" "New Status"

Mark Task Status

To delete a task, use the delete command:

dotnet run delete <id>

About

A CLI Application that you can add to keep your tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages