Create a TODO list application that allows users to add and delete tasks from the command line.
- This project comes with the necessary files to start working, but you have two options to start:
a) Use gitpod: open this link in your browser to clone it with gitpod: https://gitpod.io#https://github.com/breatheco-de/exercise-todo-list-cli b) You can clone this repository on your local computer:
$ git clone https://github.com/breatheco-de/exercise-todo-list-cli
- You can test your code by typing:
$ python3 test.py
. - You can run your code by typing:
$ python3 app.py
.
These are the functions you will have to implement:
def add_one_task(title):
def print_list():
def delete_task(number_to_delete):
def save_todos():
def load_todos():
- Your app needs to work from the command line like this.
- The user should be able to add new tasks
- The user can add as many tasks as he/she wants.
- The user can delete tasks by specifying the task position in the list.
- The user can save the todos to a
todos.csv
file - The user can retrieve the todos from a
todos.csv
file - There is no way to update a task, the user will have to delete and create again.