Skip to content

tag

Add or remove tags from entries.

Usage

bash
doing tag [OPTIONS] [TAGS]...

Arguments

ArgumentDescription
TAGSTags to add or remove (comma-separated)

Options

FlagDescription
-a, --autotagApply autotag rules from config to matching entries
-c, --count COUNTMaximum number of entries to tag
-d, --dateInclude current date as the tag value
--forceSkip confirmation prompts
-i, --interactiveInteractively select entries to tag
--regexInterpret tag patterns as regular expressions
-r, --removeRemove specified tags instead of adding
--rename OLD NEWRename a tag
-v, --value VALUEValue to set on the tag (e.g. "in progress")
--after AFTERDate range (e.g. "monday to friday")
--age AGEWhich end to keep when limiting by count (newest/oldest)
--before BEFOREUpper bound for entry date
--bool BOOL_OPBoolean operator for combining tag filters (and/or/not/pattern)
--case CASECase sensitivity for search (smart/sensitive/ignore)
-x, --exactUse exact (literal substring) matching for search
--from FROMDate range expression (e.g. "monday to friday")
--notNegate all filter results
--only-timedOnly include entries with a recorded time interval
--search SEARCHText search query
-s, --section SECTIONSection name to filter by
--tag TAGTags to filter by (can be repeated)
-u, --unfinishedOnly include unfinished entries (no @done tag)
--val VALTag value queries (e.g. "progress > 50")

Examples

Add a tag to the last entry:

bash
doing tag priority

Add a tag with a value to the last 3 entries:

bash
doing tag status --value "in review" --count 3

Rename a tag across all entries in a section:

bash
doing tag --rename wip in-progress --section Currently

Released under the MIT License.