Skip to main content

Intorduction

CLI Todo App - Part 1

This is a simple todo app that runs on the command line. It allows you to add, remove, and list tasks. It also allows you to mark tasks as complete. All the tasks are stored in memory and are lost when the program is closed. We will persist the tasks in disk in part 2.

tip

If your are new to python and want to learn the basics, check out this video.

Features

  • Add tasks
  • Remove tasks
  • List tasks
  • Mark tasks as complete

Terminal Display

Menu

Welcome to the Todo App!
What would you like to do?
1. Add a task
2. Remove a task
3. List tasks
4. Mark task as complete
5. Exit

Add a task

Enter your choice: 1
Enter the task you would like to add: Do laundry
Task added!

Remove a task

Enter your choice: 2
Enter the number of the task you would like to remove: 1
Task removed!

List tasks

Enter your choice: 3
1. [TODO] Do laundry
2. [TODO] Do dishes
3. [DONE] Do homework

Mark task as complete

Enter your choice: 4
Enter the number of the task you would like to mark as complete: 1
Task marked as complete!