Modules§
Functions§
- add_
todo - Add todo into
Vec<Todo>
- get_
priority - Get priority of the todo as ColoredString
- main_
menu - Display the main menu
- remove_
todo - Removes todo with the given ID from the list
- save_
and_ exit - Exit and save
- set_
done - Mark todo as done
- set_
priority - Set priority of the todo
- set_
undone - Mark todo as undone
- show_
todos - Show todos in a formatted table
- sub_
menu - Display the sub menu
- update_
todo - Update todo with the given ID
- user_
input - Get user input and return the value as a String