Skip to content

Latest commit

 

History

History
66 lines (52 loc) · 2.13 KB

README.md

File metadata and controls

66 lines (52 loc) · 2.13 KB

Task Tracker Application

Task Tracker CLI is a simple command-line application to help you manage your tasks. You can add, update, delete, and track your tasks directly from the terminal. Tasks are stored in a JSON file. https://roadmap.sh/projects/task-tracker

Features

  • Add, Update, and Delete tasks
  • Mark a task as in progress or done
  • List all tasks
  • List all tasks that are done
  • List all tasks that are not done
  • List all tasks that are in progress

Installation

  1. Clone the repository:
git clone https://github.com/jhenals/task-tracker-cli
cd task_tracker_cli
  1. Compile source code:
  • Generate a list of all .java files in the src directory:
dir /s /b src\*.java > sources.txt
  • Compile using the sources.txt file
javac -d out -cp src @sources.txt
  1. Run application:
java -cp out TaskCLI

Usage

  • Add task
    image

  • List all tasks
    image

  • Update task
    image

  • Mark task as in-progress
    image

  • List all to-do tasks
    image

  • List all in-progress tasks
    image

  • Mark task as done
    image

  • List all done tasks
    image

  • Delete task
    image

File Storage

Tasks are stored in a tasks.json file in the current directory. The file is created automatically if it does not exist.

Contributing

Feel free to fork this repository and submit a pull request with improvements.