Skip to content

Latest commit

 

History

History
3464 lines (1673 loc) · 65.3 KB

File metadata and controls

3464 lines (1673 loc) · 65.3 KB

Doing uses a TaskPaper-like formatting to keep a plain text record of what you’ve been doing, complete with tag-based time tracking. The command line tool allows you to add entries, annotate with tags and notes, and view your entries with myriad options, with a focus on a “natural” language syntax.

v2.1.90

Use a specific configuration file. Deprecated, set $DOING_CONFIG instead

Default Value

/Users/ttscoff/.config/doing/config.yml

Specify a different doing_file

Default Value

None

Colored output

Verbose output

Answer yes/no menus with default option

Show this message

Answer all yes/no menus with no

Output notes if included in the template

Use a pager when output is longer than screen

Silence info messages

Send results report to STDOUT instead of STDERR

Display the program version

Exclude auto tags and default tags

Answer all yes/no menus with yes

Repeat last entry as new entry

This command is designed to allow multiple time intervals to be created

for an entry by duplicating it with a new start (and end, eventually) time

Backdate start date for new entry to date string [4pm|20m|2h|yesterday noon]

Default Value

None

Boolean used to combine multiple tags (AND|OR|NOT). Use PATTERN to parse + and - as booleans

Default Value

pattern

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Add new entry to section (default: same section as repeated entry)

Default Value

None

Include a note

Default Value

None

Get last entry from a specific section

Default Value

All

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Exclude auto tags and default tags

Prompt for note via multi-line input

Edit entry with vim

Select item to resume from a menu of matching entries

Repeat items that *don’t* match search/tag filters

Force exact search string matching (case sensitive)

Move entries between sections

Argument can be a section name to move all entries from a section, or start with an “@” to move entries matching a tag.

Default with no argument moves items from the “Currently” section to Archive.

Archive entries newer than date (natural language).

Default Value

None

Archive entries older than date (natural language).

Default Value

None

Boolean used to combine multiple tags (AND|OR|NOT). Use PATTERN to parse + and - as booleans

Default Value

pattern

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Date range (natural language) to archive: ‘doing archive –from “1/1/21 to 12/31/21”`.

Default Value

None

How many items to keep (ignored if archiving by tag or search)

Default Value

None

Must Match

(?-mix:^\d+$)

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Move entries to

Default Value

Archive

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Label moved items with @from(SECTION_NAME)

Archive items that *don’t* match search/tag filters

Force exact search string matching (case sensitive)

Autotag last entry or filtered entries

Boolean (AND|OR|NOT) with which to combine multiple tag filters

Default Value

AND

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

How many recent entries to autotag (0 for all)

Default Value

1

Must Match

(?-mix:^\d+$)

Section

Default Value

All

Autotag entries matching search filter,

surround with slashes for regex (e.g. "/query.*/"),
start with single quote for exact match ("'query")
Default Value

None

Autotag the last X entries containing TAG.

Separate multiple tags with comma (--tag=tag1,tag2), combine with --bool
Default Value

None

Don’t ask permission to autotag all entries when count is 0

Select item(s) to tag from a menu of matching entries

Autotag last entry (or entries) not marked @done

End last X entries with no time tracked

Adds @done tag without datestamp so no elapsed time is recorded.

Alias for `doing finish --no-date`

Boolean used to combine multiple tags (AND|OR|NOT). Use PATTERN to parse + and - as booleans

Default Value

pattern

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Section

Default Value

None

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Archive entries

Select item(s) to cancel from a menu of matching entries

Cancel items that *don’t* match search/tag filters

Cancel last entry (or entries) not already marked @done

Force exact search string matching (case sensitive)

List recent changes in Doing

Display a formatted list of changes in recent versions.

Without flags, displays only the most recent version.
Use --lookup or --all for history.

Look up a specific version. Specify versions as “MAJ.MIN.PATCH”, MIN

and PATCH are optional. Use > or < to see all changes since or prior
to a version. Wildcards (*?) accepted unless using < or >.
Default Value

None

Must Match

(?-mix:^(?:(?:(?:[<>=]+|p(?:rior)|b(?:efore)|o(?:lder)|s(?:ince)|a(?:fter)|n(?:ewer))? [0-9.?]{1,10} *)+|(?:[\d.]+ *(?:-|to)+ *[0-9.]{1,10}))$)

Only show changes of type(s), comma-separated

Default Value

changed,new,improved,fixed

Show changelogs matching search terms (uses pattern-based searching).

Add slashes to search with regular expressions, e.g. `--search "/output.*flag/"`
Default Value

None

Sort order (asc/desc)

Default Value

desc

Must Match

(?i-mx:^(?:a(?:sc)?|d(?:esc)?)$)

Only output changes, no version numbers, headers, or dates

Display all versions

Open changelog in interactive viewer

Output raw Markdown

Include (CHANGE|NEW|IMPROVED|FIXED) prefix on each line

Force rendered output

List available color variables for configuration templates and views

Enable and disable Doing commands

Enable Doing commands

Run without arguments to select commands from a list.

List enabled commands

List style (column, tab, comma, *space)

Default Value

None

Must Match

(?-mix:^[cts].*)

List disabled commands

Disable Doing commands

Default Command

add

Generate shell completion scripts for doing

Generates the necessary scripts to add command line completion to various shells, so typing ‘doing’ and hitting tab will offer completions of subcommands and their options.

Deprecated, specify shell as argument to subcommand

Default Value

None

Must Match

(?i-mx:^(?:[bzf](?:[ai]?sh)?|fig|all)$)

Generate completion scripts, including custom plugins and command options

Argument specifies which shell to generate for: zsh, bash, fish, all

Alternative file to write output to

Default Value

None

Argument specifies which shell to generate for: zsh, bash, fish, all

Output result to STDOUT only

Install default completion scripts

Argument specifies which shell to install for: zsh, bash, fish, or all

Default Command

generate

Edit the configuration file or output a value from it

Run without arguments, ‘doing config` opens your config.yml in an editor. If local configurations are found in the path between the current directory and the root (/), a menu will allow you to select which to open in the editor.

It will use the editor defined in config_editor_app, or one specified with --editor.

Use ‘doing config get` to output the configuration to the terminal, and provide a dot-separated key path to get a specific value. Shows the current value including keys/overrides set by local configs.

DEPRECATED

DEPRECATED

Open config file in editor

Application to use

Default Value

None

Application bundle id to use

Default Value

None

Editor to use

Default Value

None

Use the config editor defined in ~/.config/doing/config.yml (Sublime Text)

Output a key’s value

Format for output (json|yaml|raw)

Default Value

yaml

Must Match

(?-mix:^(?:y(?:aml)?|j(?:son)?|r(?:aw)?)$)

List configuration paths, including .doingrc files in the current and parent directories

Config files are listed in order of precedence (if there are multiple configs detected).

Values defined in the top item in the list will override values in configutations below it.

Set a key’s value in the config file

Force update to .doingrc in the current directory

Delete specified key

Undo the last change to a config file

Update default config file, adding any missing keys

Default Command

edit

Add a completed item with @done(date). No argument finishes last entry

Use this command to add an entry after you’ve already finished it. It will be immediately marked as @done. You can modify the start and end times of the entry using the –back, –took, and –at flags, making it an easy way to add entries in post and maintain accurate (albeit manual) time tracking.

Set finish date to specific date/time (natural langauge parsed, e.g. –at=1:30pm).

Used with --took, backdates start date
Default Value

None

Backdate start date for new entry to date string [4pm|20m|2h|yesterday noon]

Default Value

None

Start and end times as a date/time range ‘doing done –from “1am to 8am”`.

Overrides other date flags.
Default Value

None

Must Match

(?i-mx:^S+.*? +(?:to|through|thru|(?:un)?til|-+) +S+.*?$)

Include a note

Default Value

None

Section

Default Value

None

Set completion date to start date plus interval (XX or HH:MM).

If used without the --back option, the start date will be moved back to allow
the completion date to be the current time.
Default Value

None

Exclude auto tags and default tags

Immediately archive the entry

Prompt for note via multi-line input

Include date

Edit entry with vim

Remove @done tag

Finish last entry not already marked @done

Mark last X entries as @done

Marks the last X entries with a @done tag and current date. Does not alter already completed entries.

Set finish date to specific date/time (natural langauge parsed, e.g. –at=1:30pm).

Used with --took, backdates start date
Default Value

None

Backdate completed date to date string [4pm|20m|2h|yesterday noon]

Default Value

None

Boolean used to combine multiple tags (AND|OR|NOT). Use PATTERN to parse + and - as booleans

Default Value

pattern

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Start and end times as a date/time range ‘doing done –from “1am to 8am”`.

Overrides other date flags.
Default Value

None

Must Match

(?i-mx:^S+.*? +(?:to|through|thru|(?:un)?til|-+) +S+.*?$)

Section

Default Value

None

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Set completion date to start date plus interval (XX or HH:MM).

If used without the --back option, the start date will be moved back to allow
the completion date to be the current time.
Default Value

None

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Archive entries

Auto-generate finish dates from next entry’s start time.

Automatically generate completion dates 1 minute before next item (in any section) began.
--auto overrides the --date and --back parameters.

Include date

Select item(s) to finish from a menu of matching entries

Finish items that *don’t* match search/tag filters

Remove @done tag

Finish last entry (or entries) not already marked @done

Overwrite existing @done tag with new date

Force exact search string matching (case sensitive)

Search for entries

Search all sections (or limit to a specific sections) for entries matching text or regular expression. Normal strings are fuzzy matched.

To search with regular expressions, single quote the string and surround with slashes: ‘doing search ’/�m.*?x�/‘`

Search entries newer than date (natural language). If this is only a time (8am, 1:30pm, 15:00), all

dates will be included, but entries will be filtered by time of day
Default Value

None

Search entries older than date (natural language). If this is only a time (8am, 1:30pm, 15:00), all

dates will be included, but entries will be filtered by time of day
Default Value

None

Boolean used to combine multiple tags (AND|OR|NOT). Use PATTERN to parse + and - as booleans

Default Value

pattern

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Output using a template from configuration

Default Value

default

Date range (natural language) to search, or a single day to filter on.

To specify a range, use "to": `doing grep --from "monday 8am to friday 5pm"`.

If values are only time(s) (6am to noon) all dates will be included, but entries will be filtered
by time of day.
Default Value

None

Output to export format (byday|csv|dayone|dayone-days|dayone-entries|doing|html|json|markdown|say|taskpaper|template|timeline|wiki)

Default Value

None

Section

Default Value

All

Save all current command line options as a new view

Default Value

None

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Tag sort direction (asc|desc)

Default Value

asc

Must Match

(?i-mx:^(?:a(?:sc)?|d(?:esc)?)$)

Sort tags by (name|time)

Default Value

name

Must Match

(?i-mx:^(?:n(?:ame)?|t(?:ime)?)$)

Override output format with a template string containing %placeholders

Default Value

None

Title string to be used for output formats that require it

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Delete matching entries

Show elapsed time on entries without @done tag

Edit matching entries with vim

Highlight search matches in output. Only affects command line output

Display an interactive menu of results to perform further operations

Search items that *don’t* match search/tag filters

Only show items with recorded time intervals

Show time intervals on @done tasks

Show time totals at the end of output

Force exact string matching (case sensitive)

Shows a list of commands or help for one command

Gets help for the application or its commands. Can also list the commands in a way helpful to creating a bash-style completion function

List commands one per line, to assist with shell completion

Import entries from an external source

Imports entries from other sources. Available plugins: calendar, doing, json, timing

Import entries newer than date (natural language). If this is only a time (8am, 1:30pm, 15:00), all

dates will be included, but entries will be filtered by time of day
Default Value

None

Import entries older than date (natural language). If this is only a time (8am, 1:30pm, 15:00), all

dates will be included, but entries will be filtered by time of day
Default Value

None

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Date range (natural language) to import, or a single day to filter on.

To specify a range, use "to": `doing import --from "monday 8am to friday 5pm"`.

If values are only time(s) (6am to noon) all dates will be included, but entries will be filtered
by time of day.
Default Value

None

Prefix entries with

Default Value

None

Target section

Default Value

None

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Tag all imported entries

Default Value

None

Import type (calendar|doing|json|timing)

Default Value

doing

Autotag entries

Import items that *don’t* match search/tag/date filters

Only import items with recorded time intervals

Allow entries that overlap existing times

Force exact search string matching (case sensitive)

Show the last entry, optionally edit

Shows the last entry. Using –search and –tag filters, you can view/edit the last entry matching a filter, allowing ‘doing last` to target historical entries.

Boolean used to combine multiple tags (AND|OR|NOT). Use PATTERN to parse + and - as booleans

Default Value

pattern

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Output using a template from configuration

Default Value

last

Output to export format (byday|csv|dayone|dayone-days|dayone-entries|doing|html|json|markdown|say|taskpaper|template|timeline|wiki)

Default Value

None

Specify a section

Default Value

All

Save all current command line options as a new view

Default Value

None

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Override output format with a template string containing %placeholders

Default Value

None

Title string to be used for output formats that require it

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Delete the last entry

Show elapsed time if entry is not tagged @done

Edit entry with vim

Highlight search matches in output. Only affects command line output

Show items that *don’t* match search/tag filters

Force exact search string matching (case sensitive)

Add an item to the Later section

Backdate start time to date string [4pm|20m|2h|yesterday noon]

Default Value

None

Note

Default Value

None

Prompt for note via multi-line input

Edit entry with vim

Mark last entry as flagged

Boolean used to combine multiple tags (AND|OR|NOT). Use PATTERN to parse + and - as booleans

Default Value

pattern

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

How many recent entries to tag (0 for all)

Default Value

1

Must Match

(?-mix:^\d+$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Section

Default Value

All

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Include current date/time with tag

Don’t ask permission to flag all entries when count is 0

Select item(s) to flag from a menu of matching entries

Flag items that *don’t* match search/tag filters

Remove flag

Flag last entry (or entries) not marked @done

Force exact search string matching (case sensitive)

Finish any running @meanwhile tasks and optionally create a new one

The @meanwhile tag allows you to have long-running entries that encompass smaller entries. This command makes it easy to start and stop these overarching entries. Just run ‘doing meanwhile Starting work on this big project` to start a @meanwhile entry, add other entries as you work on the project, then use `doing meanwhile` by itself to mark the entry as @done.

Backdate start date for new entry to date string [4pm|20m|2h|yesterday noon]

Default Value

None

Include a note

Default Value

None

Section

Default Value

None

Exclude auto tags and default tags

Archive previous @meanwhile entry

Prompt for note via multi-line input

Edit entry with vim

Add a note to the last entry

If -r is provided with no other arguments, the last note is removed.

If new content is specified through arguments or STDIN, any previous
note will be replaced with the new one.

Use -e to load the last entry in a text editor where you can append a note.

Boolean used to combine multiple tags (AND|OR|NOT). Use PATTERN to parse + and - as booleans

Default Value

pattern

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Section

Default Value

All

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Prompt for note via multi-line input

Edit entry with vim

Select item for new note from a menu of matching entries

Note items that *don’t* match search/tag filters

Replace/Remove last entry’s note (default append)

Force exact search string matching (case sensitive)

Add an entry

Record what you’re starting now, or backdate the start time using natural language.

A parenthetical at the end of the entry will be converted to a note.

Run without arguments to create a new entry interactively.

Run with –editor to create a new entry using vim.

Backdate start date for new entry to date string [4pm|20m|2h|yesterday noon]

Default Value

None

Set a start and optionally end time as a date range (“from 1pm to 2:30pm”).

If an end time is provided, a dated @done tag will be added
Default Value

None

Include a note

Default Value

None

Section

Default Value

None

Exclude auto tags and default tags

Prompt for note via multi-line input

Edit entry with vim

Timed entry, marks last entry in section as @done

List entries for a date

Date argument can be natural language. “thursday” would be interpreted as “last thursday,” and “2d” would be interpreted as “two days ago.” If you use “to” or “through” between two dates, it will create a range.

View entries after specified time (e.g. 8am, 12:30pm, 15:00)

Default Value

None

View entries before specified time (e.g. 8am, 12:30pm, 15:00)

Default Value

None

Boolean used to combine multiple tags (AND|OR|NOT). Use PATTERN to parse + and - as booleans

Default Value

pattern

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Output using a template from configuration

Default Value

default

Time range to show ‘doing on –from “12pm to 4pm”`

Default Value

None

Must Match

(?i-mx:^(?:\d{1,2}+(?::\d{1,2}+)?(?: *(?:am|pm))?|midnight|noon)(?: +(?:to|through|thru|(?:un)?til|-+) +(?:\d{1,2}+(?::\d{1,2}+)?(?: *(?:am|pm))?|midnight|noon))?$)

Output to export format (byday|csv|dayone|dayone-days|dayone-entries|doing|html|json|markdown|say|taskpaper|template|timeline|wiki)

Default Value

None

Section

Default Value

All

Save all current command line options as a new view

Default Value

None

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Tag sort direction (asc|desc)

Default Value

asc

Must Match

(?i-mx:^(?:a(?:sc)?|d(?:esc)?)$)

Sort tags by (name|time)

Default Value

name

Must Match

(?i-mx:^(?:n(?:ame)?|t(?:ime)?)$)

Override output format with a template string containing %placeholders

Default Value

None

Title string to be used for output formats that require it

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Show elapsed time on entries without @done tag

Show items that *don’t* match search/tag filters

Only show items with recorded time intervals

Show time intervals on @done tasks

Show time totals at the end of output

Force exact search string matching (case sensitive)

Open the “doing” file in an editor

‘doing open` defaults to using the editors.doing_file setting in /Users/ttscoff/.config/doing/config.yml (TaskPaper).

Open with app name

Default Value

None

Open with app bundle id

Default Value

None

Open with editor command (e.g. vim, mate)

Default Value

None

List installed plugins

Lists available plugins, including user-installed plugins.

Export plugins are available with the --output flag on commands that support it.

Import plugins are available using ‘doing import –type PLUGIN`.

List plugins of type (import, export)

Default Value

all

Must Match

(?i-mx:^(?:[iea].*)$)

List in single column for completion

List recent entries

Output using a template from configuration

Default Value

recent

Output to export format (byday|csv|dayone|dayone-days|dayone-entries|doing|html|json|markdown|say|taskpaper|template|timeline|wiki)

Default Value

None

Section

Default Value

All

Save all current command line options as a new view

Default Value

None

Tag sort direction (asc|desc)

Default Value

asc

Must Match

(?i-mx:^(?:a(?:sc)?|d(?:esc)?)$)

Sort tags by (name|time)

Default Value

name

Must Match

(?i-mx:^(?:n(?:ame)?|t(?:ime)?)$)

Override output format with a template string containing %placeholders

Default Value

None

Title string to be used for output formats that require it

Default Value

None

Show elapsed time on entries without @done tag

Select from a menu of matching entries to perform additional operations

Only show items with recorded time intervals

Show time intervals on @done tasks

Show time totals at the end of output

Redo an undo command

Shortcut for ‘doing undo -r`, reverses the last undo command. Specify a count to redo multiple undos

Specify alternate doing file

Default Value

None

Select from an interactive menu

Reset the start time of an entry

Update the start time of the last entry or the last entry matching a tag/search filter. If no argument is provided, the start time will be reset to the current time. If a date string is provided as an argument, the start time will be set to the parsed result.

Boolean used to combine multiple tags (AND|OR|NOT). Use PATTERN to parse + and - as booleans

Default Value

pattern

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Start and end times as a date/time range ‘doing done –from “1am to 8am”`.

Overrides any date argument and disables --resume.
Default Value

None

Must Match

(?i-mx:^S+.*? +(?:to|through|thru|(?:un)?til|-+) +S+.*?$)

Limit search to section

Default Value

All

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Set completion date to start date plus interval (XX or HH:MM). Disables –resume

Default Value

None

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Select from a menu of matching entries

Change start date but do not remove @done (shortcut for –no-resume)

Reset items that *don’t* match search/tag filters

Resume entry (remove @done)

Force exact search string matching (case sensitive)

Move entries to archive file

As your doing file grows, commands can get slow. Given that your historical data (and your archive section) probably aren’t providing any useful insights a year later, use this command to “rotate” old entries out to an archive file. You’ll still have access to all historical data, but it won’t be slowing down daily operation.

Rotate entries older than date

(Flexible date format, e.g. 1/27/2021, 2020-07-19, or Monday 3pm)
Default Value

None

Boolean used to combine multiple tags (AND|OR|NOT). Use PATTERN to parse + and - as booleans

Default Value

pattern

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

How many items to keep in each section (most recent)

Default Value

None

Must Match

(?-mix:^\d+$)

Section to rotate

Default Value

All

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Rotate items that *don’t* match search/tag filters

Force exact search string matching (case sensitive)

List, add, or remove sections in the Doing file

Add a section

List sections

List in single column

Remove a section

Archive entries in section before deleting. –no-archive permanently deletes section contents

Default Command

list

Display an interactive menu to perform operations

List all entries and select with typeahead fuzzy matching.

Multiple selections are allowed, hit tab to add the highlighted entry to the selection, and use ctrl-a to select all visible items. Return processes the selected entries.

Search in the menu by typing:

sbtrkt fuzzy-match Items that match s*b*t*r*k*t

‘wild exact-match (quoted) Items that include wild

!fire inverse-exact-match Items that do not include fire

Select entries newer than date (natural language). If this is only a time (8am, 1:30pm, 15:00), all

dates will be included, but entries will be filtered by time of day
Default Value

None

Select entries older than date (natural language). If this is only a time (8am, 1:30pm, 15:00), all

dates will be included, but entries will be filtered by time of day
Default Value

None

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Date range (natural language) to select, or a single day to filter on.

To specify a range, use "to": `doing select --from "monday 8am to friday 5pm"`.

If values are only time(s) (6am to noon) all dates will be included, but entries will be filtered
by time of day.
Default Value

None

Move selected items to section

Default Value

None

Output entries to format (byday|csv|dayone|dayone-days|dayone-entries|doing|html|json|markdown|say|taskpaper|template|timeline|wiki)

Default Value

None

Initial search query for filtering. Matching is fuzzy. For exact matching, start query with a single quote,

e.g. `--query "'search"
Default Value

None

Select from a specific section

Default Value

None

Save selected entries to file using –output format

Default Value

None

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Tag selected entries

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Archive selected items

Copy selection as a new entry with current time and no @done tag.

Only works with single selections. Can be combined with --editor.

Cancel selected items (add @done without timestamp)

Delete selected items

Edit selected item(s)

Add @done with current time to selected item(s)

Add flag to selected item(s)

Perform action without confirmation

Use –no-menu to skip the interactive menu. Use with –query to filter items and act on results automatically.

Test with `--output doing` to preview matches

Select items that *don’t* match search/tag filters

Reverse -c, -f, –flag, and -t (remove instead of adding)

Force exact search string matching (case sensitive)

List all entries

The argument can be a section name, @tag(s) or both.

"pick" or "choose" as an argument will offer a section menu. Run with `--menu` to get a menu of available tags.

Show tags by passing @tagname arguments. Multiple tags can be combined, and you can specify the boolean used to
combine them with `--bool (AND|OR|NOT)`. You can also use @+tagname to require a tag to match, or @-tagname to ignore
entries containing tagname. +/- operators require `--bool PATTERN` (which is the default).

Age (oldest|newest)

Default Value

newest

Show entries newer than date (natural language). If this is only a time (8am, 1:30pm, 15:00), all

dates will be included, but entries will be filtered by time of day
Default Value

None

Show entries older than date (natural language). If this is only a time (8am, 1:30pm, 15:00), all

dates will be included, but entries will be filtered by time of day
Default Value

None

Boolean used to combine multiple tags (AND|OR|NOT). Use PATTERN to parse + and - as booleans

Default Value

pattern

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

Max count to show

Default Value

0

Must Match

(?-mix:^\d+$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Output using a template from configuration

Default Value

default

Date range (natural language) to show, or a single day to filter on.

To specify a range, use "to": `doing show --from "monday 8am to friday 5pm"`.

If values are only time(s) (6am to noon) all dates will be included, but entries will be filtered
by time of day.
Default Value

None

Output to export format (byday|csv|dayone|dayone-days|dayone-entries|doing|html|json|markdown|say|taskpaper|template|timeline|wiki)

Default Value

None

Only show entries within section

Default Value

None

Save all current command line options as a new view

Default Value

None

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Sort order (asc/desc)

Default Value

asc

Must Match

(?i-mx:^(?:a(?:sc)?|d(?:esc)?)$)

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Tag sort direction (asc|desc)

Default Value

asc

Must Match

(?i-mx:^(?:a(?:sc)?|d(?:esc)?)$)

Sort tags by (name|time)

Default Value

name

Must Match

(?i-mx:^(?:n(?:ame)?|t(?:ime)?)$)

Override output format with a template string containing %placeholders

Default Value

None

Title string to be used for output formats that require it

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Show elapsed time on entries without @done tag

Edit matching entries with vim

Highlight search matches in output. Only affects command line output

Select from a menu of matching entries to perform additional operations

Select section or tag to display from a menu

Show items that *don’t* match search/tag filters

Only show items with recorded time intervals

Show time intervals on @done tasks

Show time totals at the end of output

Force exact search string matching (case sensitive)

List entries since a date

Date argument can be natural language and are always interpreted as being in the past. “thursday” would be interpreted as “last thursday,” and “2d” would be interpreted as “two days ago.”

Boolean used to combine multiple tags (AND|OR|NOT). Use PATTERN to parse + and - as booleans

Default Value

pattern

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Output using a template from configuration

Default Value

default

Output to export format (byday|csv|dayone|dayone-days|dayone-entries|doing|html|json|markdown|say|taskpaper|template|timeline|wiki)

Default Value

None

Section

Default Value

All

Save all current command line options as a new view

Default Value

None

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Tag sort direction (asc|desc)

Default Value

asc

Must Match

(?i-mx:^(?:a(?:sc)?|d(?:esc)?)$)

Sort tags by (name|time)

Default Value

name

Must Match

(?i-mx:^(?:n(?:ame)?|t(?:ime)?)$)

Override output format with a template string containing %placeholders

Default Value

None

Title string to be used for output formats that require it

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Show elapsed time on entries without @done tag

Since items that *don’t* match search/tag filters

Only show items with recorded time intervals

Show time intervals on @done tasks

Show time totals at the end of output

Force exact search string matching (case sensitive)

Add tag(s) to last entry

Add (or remove) tags from the last entry, or from multiple entries

(with `--count`), entries matching a search (with `--search`), or entries
containing another tag (with `--tag`).

When removing tags with `-r`, wildcards are allowed (`*` to match
multiple characters, `?` to match a single character). With `--regex`,
regular expressions will be interpreted instead of wildcards.

For all tag removals the match is case insensitive by default, but if
the tag search string contains any uppercase letters, the match will
become case sensitive automatically.

Tag name arguments do not need to be prefixed with @.

Boolean used to combine multiple tags (AND|OR|NOT). Use PATTERN to parse + and - as booleans

Default Value

pattern

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

How many recent entries to tag (0 for all)

Default Value

1

Must Match

(?-mix:^\d+$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Replace existing tag with tag argument, wildcards (*,?) allowed, or use with –regex

Default Value

None

Section

Default Value

All

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Include a value, e.g. @tag(value)

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Autotag entries based on autotag configuration in ~/.config/doing/config.yml

Include current date/time with tag

Don’t ask permission to tag all entries when count is 0

Select item(s) to tag from a menu of matching entries

Tag items that *don’t* match search/tag filters

Remove given tag(s)

Interpret tag string as regular expression (with –remove)

Tag last entry (or entries) not marked @done

Force exact search string matching (case sensitive)

Set the default tags for the current directory

Adds default_tags to a .doingrc file in the current directory. Any entry created in this directory or its subdirectories will be tagged with the default tags. You can modify these any time using the ‘config set` command or manually editing the .doingrc file.

Remove all default_tags from the local .doingrc

Use default editor to edit tag list

Delete tag(s) from the current list

List all tags in the current Doing file

Boolean used to combine multiple tags (AND|OR|NOT). Use PATTERN to parse + and - as booleans

Default Value

pattern

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Sort order (asc/desc)

Default Value

asc

Must Match

(?i-mx:^(?:a(?:sc)?|d(?:esc)?)$)

Section

Default Value

All

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Sort by name or count

Default Value

name

Must Match

(?-mix:^(?:n(?:ame)?|c(?:ount)?)$)

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Show count of occurrences

Select items to scan from a menu of matching entries

Output in a single line with @ symbols. Ignored if –counts is specified.

Show items that *don’t* match search/tag filters

Force exact search string matching (case sensitive)

Output HTML, CSS, and Markdown (ERB) templates for customization

Templates are printed to STDOUT for piping to a file.

Save them and use them in the configuration file under export_templates.

Save template to alternate location

Default Value

/Users/ttscoff/.config/doing/templates

List in single column for completion

List all available templates

Save template to file instead of STDOUT

Test Stuff

This command is coming from /Users/ttscoff/.config/doing/commands/test.rb

List entries from today

List entries from the current day. Use –before, –after, and –from to specify time ranges.

View entries after specified time (e.g. 8am, 12:30pm, 15:00)

Default Value

None

View entries before specified time (e.g. 8am, 12:30pm, 15:00)

Default Value

None

Output using a template from configuration

Default Value

today

Time range to show ‘doing today –from “12pm to 4pm”`

Default Value

None

Must Match

(?i-mx:^(?:\d{1,2}+(?::\d{1,2}+)?(?: *(?:am|pm))?|midnight|noon)(?: +(?:to|through|thru|(?:un)?til|-+) +(?:\d{1,2}+(?::\d{1,2}+)?(?: *(?:am|pm))?|midnight|noon))?$)

Output to export format (byday|csv|dayone|dayone-days|dayone-entries|doing|html|json|markdown|say|taskpaper|template|timeline|wiki)

Default Value

None

Specify a section

Default Value

All

Save all current command line options as a new view

Default Value

None

Tag sort direction (asc|desc)

Default Value

asc

Must Match

(?i-mx:^(?:a(?:sc)?|d(?:esc)?)$)

Sort tags by (name|time)

Default Value

name

Must Match

(?i-mx:^(?:n(?:ame)?|t(?:ime)?)$)

Override output format with a template string containing %placeholders

Default Value

None

Title string to be used for output formats that require it

Default Value

None

Show elapsed time on entries without @done tag

Only show items with recorded time intervals

Show time intervals on @done tasks

Show time totals at the end of output

Add an item as a Todo

Adds an item to a Todo section, and tags it with @todo

Note

Default Value

None

Prompt for note via multi-line input

Edit entry with vim

Undo the last X changes to the Doing file

Reverts the last X commands that altered the doing file. All changes performed by a single command are undone at once.

Specify a number to jump back multiple revisions, or use –select for an interactive menu.

Specify alternate doing file

Default Value

None

Remove old backups, retaining X files

Default Value

None

Select from recent backups

Redo last undo. Note: you cannot undo a redo

Update doing to the latest version

Checks for the latest available version of doing and updates your local install if needed.

Check for pre-release version

Display a user-created view

Views are defined in your configuration (use ‘doing config` to edit). Command line options override view configuration.

Show entries newer than date (natural language). If this is only a time (8am, 1:30pm, 15:00), all

dates will be included, but entries will be filtered by time of day
Default Value

None

Age (oldest|newest)

Default Value

None

Show entries older than date (natural language). If this is only a time (8am, 1:30pm, 15:00), all

dates will be included, but entries will be filtered by time of day
Default Value

None

Boolean used to combine multiple tags. Use PATTERN to parse + and - as booleans

Default Value

None

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

Count to display

Default Value

None

Must Match

(?-mix:^\d+$)

Case sensitivity for search string matching [©ase-sensitive, (i)gnore, (s)mart]

Default Value

smart

Must Match

(?i-mx:^[cis].*?$)

Output using a template from configuration

Default Value

None

Date range (natural language) to show, or a single day to filter on.

To specify a range, use "to": `doing view --from "monday 8am to friday 5pm"`.

If values are only time(s) (6am to noon) all dates will be included, but entries will be filtered
by time of day.
Default Value

None

Output to export format (byday|csv|dayone|dayone-days|dayone-entries|doing|html|json|markdown|say|taskpaper|template|timeline|wiki)

Default Value

None

Section

Default Value

None

Filter entries using a search query, surround with slashes for regex (e.g. “/query.*/”),

start with single quote for exact match ("'query")
Default Value

None

Filter entries by tag. Combine multiple tags with a comma. Wildcards allowed (*, ?)

Default Value

None

Tag sort direction (asc|desc)

Default Value

None

Must Match

(?i-mx:^(?:a(?:sc)?|d(?:esc)?)$)

Sort tags by (name|time)

Default Value

None

Must Match

(?i-mx:^(?:n(?:ame)?|t(?:ime)?)$)

Override output format with a template string containing %placeholders

Default Value

None

Perform a tag value query (“@done > two hours ago” or “@progress < 50”).

May be used multiple times, combined with --bool
Default Value

None

Must Match

(?-mix:^(?:!)?@?(?:S+) +(?:!?[<>=][=*]?|[$*^]=) +(?:.*?)$)

Include colors in output

Show elapsed time on entries without @done tag

Highlight search matches in output. Only affects command line output

Select from a menu of matching entries to perform additional operations

Show items that *don’t* match search/tag filters

Only show items with recorded time intervals (override view settings)

Show time intervals on @done tasks

Show intervals with totals at the end of output

Force exact search string matching (case sensitive)

List available custom views. Specify view names to see YAML configurations.

Output/edit view in alternative format (json, yaml)

Default Value

yaml

Must Match

(?i-mx:^[jy])

List in single column

Open YAML for view in editor (requires argument)

Delete view config

Output a tag wiki

Include entries newer than date

Default Value

None

Tag boolean (AND,OR,NOT)

Default Value

OR

Must Match

(?i-mx:^(?:and|all|any|or|not|none|p(?:at(?:tern)?)?)$)

Include entries older than date

Default Value

None

Date range to include, or a single day to filter date on.

Date range argument should be quoted. Date specifications can be natural language.
To specify a range, use "to" or "through": `doing show --from "monday to friday"`
Default Value

None

Section to rotate

Default Value

All

Search filter, surround with slashes for regex (/query/), start with single quote for exact match (“‘query”)

Default Value

None

Tag filter, combine multiple tags with a comma, use with –bool

Default Value

None

Only show items with recorded time intervals

List entries from yesterday

Show only entries with start times within the previous 24 hour period. Use –before, –after, and –from to limit to time spans within the day.

View entries after specified time (e.g. 8am, 12:30pm, 15:00)

Default Value

None

View entries before specified time (e.g. 8am, 12:30pm, 15:00)

Default Value

None

Output using a template from configuration

Default Value

today

Time range to show ‘doing yesterday –from “12pm to 4pm”`

Default Value

None

Must Match

(?i-mx:^(?:\d{1,2}+(?::\d{1,2}+)?(?: *(?:am|pm))?|midnight|noon)(?: +(?:to|through|thru|(?:un)?til|-+) +(?:\d{1,2}+(?::\d{1,2}+)?(?: *(?:am|pm))?|midnight|noon))?$)

Output to export format (byday|csv|dayone|dayone-days|dayone-entries|doing|html|json|markdown|say|taskpaper|template|timeline|wiki)

Default Value

None

Specify a section

Default Value

All

Save all current command line options as a new view

Default Value

None

Tag sort direction (asc|desc)

Default Value

asc

Must Match

(?i-mx:^(?:a(?:sc)?|d(?:esc)?)$)

Sort tags by (name|time)

Default Value

name

Must Match

(?i-mx:^(?:n(?:ame)?|t(?:ime)?)$)

Override output format with a template string containing %placeholders

Default Value

None

Title string to be used for output formats that require it

Default Value

None

Show elapsed time on entries without @done tag

Only show items with recorded time intervals

Show time intervals on @done tasks

Show time totals at the end of output

Default Command

recent