@mahz23/taskflow-cli
v1.0.1
Published
A powerful command-line task manager built with Node.js.
Readme
🚀 TaskFlow CLI
A powerful command-line task manager built with Node.js.
Features
- ✅ Add tasks with priorities and due dates
- 📋 List and filter tasks
- ✔️ Mark tasks as complete
- 📊 View productivity statistics
- 💾 Persistent local storage
Installation
npm i @mahz23/taskflow-cliUsage
# Add a task
@mahz23/taskflow-cli add "Complete the project" -p high -d tomorrow
# List all tasks
@mahz23/taskflow-cli list
# Filter pending tasks
@mahz23/taskflow-cli list -f pending
# Complete a task
@mahz23/taskflow-cli complete 1
# Delete a task
@mahz23/taskflow-cli delete 1
# View statistics
@mahz23/taskflow-cli statsCommands
| Command | Alias | Description |
|---------|-------|-------------|
| add <title> | - | Add a new task |
| list | ls | List all tasks |
| complete <id> | done | Mark task as complete |
| delete <id> | rm | Delete a task |
| stats | - | Show statistics |
Options for add
| Option | Description | Default |
|--------|-------------|---------|
| -p, --priority | Set priority (low, medium, high) | medium |
| -d, --due | Set due date (YYYY-MM-DD, tomorrow, today) | none |
Tech Stack
- Node.js - Runtime
- Commander.js - CLI framework
- Chalk - Terminal styling
- Conf - Persistent storage
Author
Marco - Full Stack Developer
License
MIT
