todo - simple command line todo manager
todo task
todo id [done|undo|remove]
todo -h|-v|-a
todo manages a list of todo items. Items can be added, listed, marked as completed, and removed. Items are stored in a file .todo.txt in the current directory or, if none is present, the home directory. All output goes to standard output.
- task
-
Add task to todo list.
- -a
-
List all todo items. Each item is listed with an id that can be used in other commands.
- id
-
Emit task id to stdout.
- id done
-
Mark task id as done.
- id undo.
-
Mark task id as to be done.
- id remove
-
Remove task id
- -v
-
Emit version number.
- -h
-
Emit help message.
Items are stored in a file .todo.txt in the current directory if such a file is already present, or in the home directory, otherwise.
The exit code is zero for success and positive in the case of errors. Error messages are emitted to standard error.
Chao Wang <[email protected]>. The source code is available from https://github.com/hit9/todo.c.
This program is licensed under the BSD-3 Open Source License.