A simple command-line interface (CLI) for managing your todos.
To install todocli, make sure you have Go installed on your system. Then, run the following command:
go install github.com/hwkd/todo@latesttodo provides several commands to manage your todos:
To add a new todo, use the add command:
todo add "My new todo"You can also set a priority for the todo:
todo add "My new todo" -p 1To list all your todos, use the list command:
todo listBy default, this command will only show incomplete todos. To show all todos, including completed ones, use the --all flag:
todo list --allTo mark a todo as complete, use the complete command with the todo's ID:
todo complete <id>To remove a todo, use the remove command with the todo's ID:
todo remove <id>To undo a completed todo, use the undo command with the todo's ID:
todo undo <id>To update a todo's text or priority, use the update command with the todo's ID:
todo update <id> -t "My updated todo" -p 2This project is licensed under the MIT License.