← All projects
Beginner~3 hours

Todo CLI

A persistent terminal todo list. The classic first project — file I/O, argparse, JSON.

PythonargparseJSON

Build plan

  1. 1
    Parse subcommands: add, list, done, remove
  2. 2
    Persist tasks to ~/.todos.json
  3. 3
    Pretty-print with checkboxes [x] / [ ]
  4. 4
    Add filtering by status and a --due flag
Stuck?

Open the playground and prototype the trickiest part first. Even 20 lines of working code beats a perfect plan that never runs.

Open Playground