Simple task management directly in your terminal.
- Add Tasks: Create tasks with a description and a unique ID.
- List Tasks: View all tasks interactively, toggle their status (TODO ↔ DONE).
- Show Task Details: Display detailed information about a specific task.
- Persistent Storage: Tasks are saved in a JSON file for persistence.
- Ensure
jqandgumare installed:sudo apt install jq # Debian/Ubuntu brew install jq gum # macOS
- Save the script to a file, e.g.,
task. - Make the script executable:
chmod +x task
- Move it to your PATH for easy access:
mv task /usr/local/bin/task
task add "Finish project report"task show <task_id>If <task_id> is omitted, an interactive menu will appear, allowing you to select a task.
task list- Press Space to toggle a task's status (📝 ↔ ✅).
- Press Enter to confirm your selection.
- Tasks are stored persistently in
.project_tasks/tasks.jsonin your current directory. - Example task format:
[ { "id": "1672527600", "description": "Complete project documentation", "date": "2025-01-24 12:00:00", "status": "TODO" } ]
- Tasks are sorted by their status (
📝 TODOfirst, then✅ DONE) and by creation date.
