Skip to content

recent

Show recent entries.

Usage

bash
doing recent [OPTIONS] [COUNT]

Arguments

ArgumentDescription
COUNTNumber of entries to show

Options

View Options

FlagDescription
--count COUNTNumber of entries to display
--config-templateUse the output template from the config file
--durationShow elapsed time on entries
-o, --output OUTPUTOutput format (html, csv, json, template, timeline)
--save SAVESave output to a file
--sort SORTSort order (asc, desc)
--tag-orderSort by tag
--tag-sortSort tags within entries
--template TEMPLATEOverride the output template
-t, --timesShow start and end times
--titleShow section title
--totalsShow time totals

Filter Options

FlagDescription
--afterShow entries after a given time
--age AGESort direction by age (newest, oldest)
--beforeShow entries before a given time
--bool BOOL_OPBoolean operator for multiple filters (and, not, or, pattern)
--case CASECase sensitivity for search (sensitive, ignore, smart)
-x, --exactForce exact string matching
--from FROMShow entries from a specific section
--notNegate the search filter
--only-timedOnly show entries with elapsed time
--search SEARCHFilter entries by search string
-s, --section SECTIONShow entries from a specific section
--tag TAGFilter entries by tag
-u, --unfinishedOnly show unfinished entries
--val VALFilter by tag value
-i, --interactiveSelect entries interactively

Examples

Show the last 10 entries:

bash
doing recent 10

Show recent entries with times and totals:

bash
doing recent -t --totals

Show recent entries filtered by tag as JSON:

bash
doing recent --tag project-x -o json

Released under the MIT License.