Viewing Items
Show Single
The most basic way of viewing a single item is through the show
command, calling show
with an ID:
You can also just use a prefix for the ID, and wdid will attempt to match the correct one:
If there are multiple items that match the prefix, wdid will display them both so you can pick the correct one.
List
A more powerful way to view all items for a day is through the list
command. This is the default command in wdid, not specifying a command will invoke it.
ls
or list
lists all tasks from a period of time (default today).
Passing a time will filter the list to just that time:
There's also an advanced listing filter language, for more complex filtering.
List Formats
Data can be printed in a couple of different ways. The supported formats are "text", "human", and "json". The text format is tab-delimited and useful for parsing with other command line tools, whereas the human format is easier to read for humans (colored, unicode characters, more detail when viewing single items). The "json" format prints items in JSON Line format, one item per line (\n
). The default is "human". To change, pass a "format" flag: wdid list --format=text week
.
Last updated