add_task hardcodes category='General' regardless of what the user passes. The README documents addtask "" "" as two-argument syntax, but the category argument is silently discarded. Similarly, cli.py::_handle_todo_command parses both arguments from the regex match but concatenates them into a single string passed to add_task, which treats the whole thing as the task text.
add_taskhardcodescategory='General'regardless of what the user passes. The README documentsaddtask "" ""as two-argument syntax, but the category argument is silently discarded. Similarly,cli.py::_handle_todo_commandparses both arguments from the regex match but concatenates them into a single string passed toadd_task, which treats the whole thing as the task text.