Skip to content

Latest commit

 

History

History
87 lines (71 loc) · 1.74 KB

README.md

File metadata and controls

87 lines (71 loc) · 1.74 KB

Task Tracker CLI

A simple command line interface (CLI) application to manage your tasks. You can add, update, delete, and mark tasks as done or in-progress.

Features

  • Add new tasks
  • Update existing tasks
  • Delete tasks
  • Mark tasks as in-progress or done
  • List all tasks or filter by status

Requirements

  • Python 3.x

Project URL

https://roadmap.sh/projects/task-tracker

Installation

Clone the repository:

git clone https://github.com/gkavinrajanCodes/CLI

Usage

The application can be run from the command line using the following syntax:

python task-cli.py <command> [<args>]
  1. Commands

    1. Add a new task:
    python task-cli.py add "Task description"
    1. Update a task:
    python task-cli.py update <id> "New task description"
    1. Delete a task:
    python task-cli.py delete <id>
    1. Mark a task as in-progress:
    python task-cli.py mark-in-progress <id>
    1. Mark a task as done:
    python task-cli.py mark-done <id>
    1. List all tasks:
    python task-cli.py list
    1. List tasks by status:
    python task-cli.py list <status>
  2. Examples

    1. Add a task:
    python task-cli.py add "Buy groceries"
    Output: Task added successfully (ID: 1)
    1. Update a task:
    python task-cli.py update 1 "Buy groceries and cook dinner"
    Output: Task updated successfully (ID: 1)
    1. Delete a task:
    python task-cli.py delete 1
    Output: Task deleted successfully (ID: 1)

Contributing

Feel free to submit issues or pull requests for improvements and new features.