Management of a todo list in CLI