Skip to content

Devadathan-dev/Todo-CLI-v1.0---Full-CRUD-Python-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Todo CLI - Python

Command-line todo app with full CRUD, JSON persistence, priority sorting, and search.

Features

  • ✅ Add tasks with priority (high/medium/low)
  • ✅ List sorted by priority
  • ✅ Mark done / delete by ID
  • ✅ Search by keyword (case-insensitive)
  • ✅ Persistent storage (todos.json)

Demo

$ python todo.py add "LeetCode daily" --priority high
Added: LeetCode daily (priority: high)

$ python todo.py add "Gym workout" --priority low
Added: Gym workout (priority: low)

$ python todo.py ls
○ [HIGH] LeetCode daily
○ [LOW] Gym workout

$ python todo.py search "leet"
○ [HIGH] LeetCode daily

$ python todo.py done 1
Marked as done: LeetCode daily

$ python todo.py ls
✓ [HIGH] LeetCode daily
○ [LOW] Gym workout


## Install & Run
git clone <your-repo>
cd Todo-CLI-Python
python todo.py --help


## Commands
add "Task" --priority high # Add new todo
ls # List all (priority sorted)
done ID # Mark as done
del ID # Delete todo
search "keyword" # Find todos


**Skills Demonstrated:**
- `argparse` subparsers & CLI design
- JSON file I/O & persistence
- List comprehensions (filter/delete)
- Lambda sorting & case-insensitive search

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages