Skip to content

sultanarun/sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Task Manager

A simple command-line task management app written in Python. Tasks are persisted locally in a JSON file.

Features

  • Add tasks
  • List pending or all tasks
  • Mark tasks as complete
  • Delete tasks
  • JSON-based persistence (no database needed)

Requirements

  • Python 3.10+

Usage

# Add a task
python task_manager.py add "Buy groceries"

# List pending tasks
python task_manager.py list

# List all tasks (including completed)
python task_manager.py list --all

# Mark task 1 as done
python task_manager.py done 1

# Delete task 2
python task_manager.py delete 2

# Show help
python task_manager.py help

Example

$ python task_manager.py add "Write unit tests"
[+] Task 1 added: Write unit tests

$ python task_manager.py add "Update README"
[+] Task 2 added: Update README

$ python task_manager.py list

ID    Status     Title
--------------------------------------------------
1     ○ todo     Write unit tests
2     ○ todo     Update README

$ python task_manager.py done 1
[✓] Task 1 marked as complete: Write unit tests

About

Simple CLI task manager in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages