A Rust clone of doing by Brett Terpstra — a command line tool for remembering what you were doing and tracking what you've done. doing.aaronmallen.dev
doing docs site cli recent.md
2.0 kB · 74 lines
Markdown
at main

recent #

Show recent entries.

Usage #

doing recent [OPTIONS] [COUNT]

Arguments #

Argument Description
COUNT Number of entries to show

Options #

View Options #

Flag Description
--count COUNT Number of entries to display
--config-template Use the output template from the config file
--duration Show elapsed time on entries
-o, --output OUTPUT Output format (html, csv, json, template, timeline)
--save SAVE Save output to a file
--sort SORT Sort order (asc, desc)
--tag-order Sort by tag
--tag-sort Sort tags within entries
--template TEMPLATE Override the output template
-t, --times Show start and end times
--title Show section title
--totals Show time totals

Filter Options #

Flag Description
--after Show entries after a given time
--age AGE Sort direction by age (newest, oldest)
--before Show entries before a given time
--bool BOOL_OP Boolean operator for multiple filters (and, not, or, pattern)
--case CASE Case sensitivity for search (sensitive, ignore, smart)
-x, --exact Force exact string matching
--from FROM Show entries from a specific section
--not Negate the search filter
--only-timed Only show entries with elapsed time
--search SEARCH Filter entries by search string
-s, --section SECTION Show entries from a specific section
--tag TAG Filter entries by tag
-u, --unfinished Only show unfinished entries
--val VAL Filter by tag value
-i, --interactive Select entries interactively

Examples #

Show the last 10 entries:

doing recent 10

Show recent entries with times and totals:

doing recent -t --totals

Show recent entries filtered by tag as JSON:

doing recent --tag project-x -o json