todo

command module
v0.0.0-...-affec9d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2025 License: MIT Imports: 5 Imported by: 0

README

todo

A simple command-line interface (CLI) for managing your todos.

Installation

To install todocli, make sure you have Go installed on your system. Then, run the following command:

go install github.com/hwkd/todo@latest

Usage

todo provides several commands to manage your todos:

Add a new todo

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 1
List all todos

To list all your todos, use the list command:

todo list

By default, this command will only show incomplete todos. To show all todos, including completed ones, use the --all flag:

todo list --all
Mark a todo as complete

To mark a todo as complete, use the complete command with the todo's ID:

todo complete <id>
Remove a todo

To remove a todo, use the remove command with the todo's ID:

todo remove <id>
Undo a completed todo

To undo a completed todo, use the undo command with the todo's ID:

todo undo <id>
Update a todo

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 2

License

This project is licensed under the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL