A simple command-line interface (CLI) tool for managing tasks. This tool allows you to add, list, update, delete, and mark tasks with different statuses.
- Clone the repository:
git clone https://github.com/SanthoshDatturi/task-tracker-cli.git
- Navigate to the project directory:
cd task-tracker-cli - Build the executable (assuming you have PyInstaller installed):
pyinstaller --onefile task_cli.py
Run the CLI tool using the following command:
task_cli [command] [options]add <description>: Add a new task with the given description.list [status]: List all tasks or tasks with a specific status (todo,in-progress,done).update <id> <description>: Update the description of a task with the given ID.delete <id>: Delete the task with the given ID.mark-todo <id>: Mark the task with the given ID as "todo".mark-in-progress <id>: Mark the task with the given ID as "in-progress".mark-done <id>: Mark the task with the given ID as "done".--help: Show help information.
-
Add a new task:
task_cli add "Finish the report" -
List all tasks:
task_cli list
-
List tasks with a specific status:
task_cli list todo
-
Update a task description:
task_cli update 1 "Finish the report and send it to the manager" -
Delete a task:
task_cli delete 1
-
Mark a task as "in-progress":
task_cli mark-in-progress 1