A simple to-do list application that can be accessed via a Command-Line Interface (CLI), application allow users to add, remove, edit, and list tasks in a convenient and efficient manner.
Show all todo lists | List all todo's |
---|---|
- Create a todo list
- Remove an existing todo list
- Show all the todo lists
- Add, edit, delete, mark as complete, incomplete the todo items present in those lists
- Show all the todo items in a particular list
- Todo's completion data insights
- Beautiful table layouts powered by rich library
prefixes for the commands: list
, todo
list show
-> show all the todo listslist create list_name
-> create a list with list_namelist use list_name
-> start using a particular listlist drop list_name
-> remove a particular listtodo add todo_title
-> add a todo item in the selected listtodo all
-> show all todos in the selected listtodo edit item_id new_title
-> edit the todo item with id=item_idtodo remove item_id
-> remove the todo item with id=item_idtodo complete item_id
-> mark a todo item with id=item_id as completetodo incomplete item_id
-> mark a todo item with id=item_id as incompletehelp
-> print all the commands provided by the appquit
orexit
-> exit the application
- Schema for storing all the todo lists
{
"list1": {
"file_name": "list1.json",
"created_at": "timestamp"
}
}
- Schema for storing todo's in a todo list
[
{
"title": "todo_title1",
"completed": false,
"created_at": "timestamp"
},
{
"title": "todo_title2",
"completed": true,
"created_at": "timestamp"
}
]
# clone the repo & navigate to the root directory that contains the Pipfile
git clone https://github.com/ashleymavericks/todo-cli.git && cd todo-cli
# Install dependencies & create a virutal environment using pipenv
pipenv install
# Activate the virtual environment
pipenv shell
# Run the application
python app.py