Todo Commands
Manage project tasks from the command line.
Synopsis#
bootspring todo <command> [options]Commands#
| Command | Description |
|---|---|
list | List all todos |
add <text> | Add a new todo |
done <index> | Mark a todo as complete |
remove <index> | Remove a todo |
clear | Clear completed todos |
bootspring todo list#
List all pending and completed todos.
Usage#
bootspring todo list [options]Options#
| Option | Description |
|---|---|
--pending | Show only pending todos |
--completed | Show only completed todos |
--json | Output as JSON |
Example#
bootspring todo listOutput:
Todo List
═══════════════════════════════════════════════════════════════════
Pending (3)
───────────
0. Set up authentication
1. Create user dashboard
2. Add payment integration
Completed (2)
─────────────
3. ✓ Initialize project
4. ✓ Configure database
───────────────────────────────────────────────────────────────────
3 pending, 2 completed
# Only pending
bootspring todo list --pending
# Only completed
bootspring todo list --completedbootspring todo add#
Add a new todo item.
Usage#
bootspring todo add "<text>"Examples#
bootspring todo add "Implement email notifications"Output:
Added: Implement email notifications
Todo list now has 4 pending items
# Add multiple todos
bootspring todo add "Add user settings page"
bootspring todo add "Implement password reset"
bootspring todo add "Add email verification"bootspring todo done#
Mark a todo as complete.
Usage#
bootspring todo done <index>Example#
bootspring todo done 0Output:
Completed: Set up authentication
Todo list: 2 pending, 3 completed
bootspring todo remove#
Remove a todo item.
Usage#
bootspring todo remove <index>Example#
bootspring todo remove 2Output:
Removed: Add payment integration
Todo list: 2 pending, 2 completed
bootspring todo clear#
Clear all completed todos.
Usage#
bootspring todo clear [options]Options#
| Option | Description |
|---|---|
--all | Clear all todos (pending and completed) |
--force | Don't ask for confirmation |
Example#
bootspring todo clearOutput:
? Clear 2 completed todos? (y/N) y
Cleared 2 completed todos
Todo list: 2 pending
# Clear without confirmation
bootspring todo clear --force
# Clear everything
bootspring todo clear --all --forceTodo File#
Todos are stored in todo.md:
1# Todo List
2
3## Pending
4
5- [ ] Set up authentication
6- [ ] Create user dashboard
7
8## Completed
9
10- [x] Initialize project
11- [x] Configure databaseConfiguration#
Custom Path#
1// bootspring.config.js
2module.exports = {
3 paths: {
4 todo: 'docs/tasks.md', // Default: todo.md
5 },
6};Tips#
Quick Task Management#
1# Morning routine
2bootspring todo list --pending
3bootspring todo done 0 # Complete first task
4
5# End of day
6bootspring todo clear # Clear completedUse with Workflows#
1# Start workflow
2bootspring workflow start feature-development
3
4# Add related todos
5bootspring todo add "Step 1: Define requirements"
6bootspring todo add "Step 2: Design database schema"
7bootspring todo add "Step 3: Implement API"
8bootspring todo add "Step 4: Build UI"
9bootspring todo add "Step 5: Write tests"
10
11# Complete as you work
12bootspring todo done 0
13bootspring todo done 1
14# ...Share with Team#
Commit todo.md to version control:
git add todo.md
git commit -m "chore: update todos"Related#
- bootspring_todo - MCP tool reference
- Loop Commands - PRD-based task management
- Workflow Commands - Workflow management