Skip to content

Latest commit

 

History

History
83 lines (47 loc) · 1.47 KB

todo.pod

File metadata and controls

83 lines (47 loc) · 1.47 KB

NAME

todo - simple command line todo manager

SYNOPSIS

todo task

todo id [done|undo|remove]

todo -h|-v|-a

DESCRIPTION

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.

ARGUMENTS AND OPTIONS

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.

FILES

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.

EXIT CODE AND DIAGNOSTICS

The exit code is zero for success and positive in the case of errors. Error messages are emitted to standard error.

AUTHOR

Chao Wang <[email protected]>. The source code is available from https://github.com/hit9/todo.c.

LICENSE

This program is licensed under the BSD-3 Open Source License.