Crate rtodo

Source

Modules§

commands
errors
persistence
sorting
todos

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