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 view.md
1.3 kB · 57 lines
Markdown
at main

view #

Display a custom view.

Usage #

doing view [OPTIONS] [NAME]

Arguments #

Argument Description
NAME The name of the view to display

Options #

Flag Description
--config-template TEMPLATE Override the view's output template
--duration Show entry durations
-o, --output OUTPUT Output format (e.g. html, csv, json, timeline)
--sort SORT Sort order (asc, desc)
-t, --template TEMPLATE Template for formatting entries
--times Show entry timestamps
--title TITLE Override the view title
--totals Show time totals
--bool BOOL_OP Boolean operator for multiple filters (AND, OR, NOT)
--case Case-sensitive search
--count COUNT Number of entries to display
-x, --exact Match search term exactly
-i, --interactive Select entries interactively
--not Negate the search filter
--search SEARCH Filter entries by search term
--tag TAG Filter entries by tag
--val VALUE Filter by tag value

Examples #

Display a named view:

doing view daily

Display a view with time totals:

doing view weekly --totals --times

Display a view filtered by tag and output as JSON:

doing view project --tag client -o json