diff --git a/CHANGELOG.md b/CHANGELOG.md index 952bd91b..c30ee87a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +### 2.0.8.pre + +#### NEW + +- Add `--exact` flag to all commands with `--search` flag to force exact matching without requiring single quote prefix +- Add `--not` flag to all commands with filters (--tag, --search, --before, etc.) to negate the filter and return entries NOT matched + ### 2.0.7.pre #### FIXED diff --git a/Gemfile.lock b/Gemfile.lock index 702c39f4..1c246409 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - doing (2.0.7.pre) + doing (2.0.8.pre) chronic (~> 0.10, >= 0.10.2) deep_merge (~> 1.2, >= 1.2.1) gli (~> 2.19, >= 2.19.2) diff --git a/README.md b/README.md index 9d0506ca..3a48dfd7 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ _If you're one of the rare people like me who find this useful, feel free to [bu -The current version of `doing` is 2.0.6. +The current version of `doing` is 2.0.7. Find all of the documentation in the [doing wiki](https://github.com/ttscoff/doing/wiki). diff --git a/doing.rdoc b/doing.rdoc index 6336a1a5..933f483c 100644 --- a/doing.rdoc +++ b/doing.rdoc @@ -2,7 +2,7 @@ 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.0.7.pre +v2.0.8.pre === Global Options === --config_file arg @@ -133,6 +133,16 @@ Select item to resume from a menu of matching entries +===== --not +Resume items that *don't* match search/tag filters + + + +===== -x|--exact +Force exact search string matching (case sensitive) + + + ==== Command: archive|move SECTION_OR_TAG Move entries between sections @@ -191,6 +201,16 @@ Label moved items with @from(SECTION_NAME) +===== --not +Show items that *don't* match search string + + + +===== -x|--exact +Force exact search string matching (case sensitive) + + + ==== Command: autotag Autotag last entry or filtered entries @@ -524,6 +544,11 @@ Select item(s) to finish from a menu of matching entries +===== --not +Finish items that *don't* match search/tag filters + + + ===== -r|--remove Remove done tag @@ -534,6 +559,11 @@ Finish last entry (or entries) not already marked @done +===== -x|--exact +Force exact search string matching (case sensitive) + + + ==== Command: grep|search SEARCH_PATTERN Search for entries @@ -577,11 +607,21 @@ Sort tags by (name|time) [Must Match] (?i-mx:^(?:name|time)$) +===== --[no-]case +Force case sensitive matching + + + ===== -i|--interactive Display an interactive menu of results to perform further operations +===== --not +Show items that *don't* match search string + + + ===== --only_timed Only show items with recorded time intervals @@ -597,6 +637,11 @@ Show intervals with totals at the end of output +===== -x|--exact +Force exact string matching (case sensitive) + + + ==== Command: help command Shows a list of commands or help for one command @@ -675,6 +720,11 @@ Autotag entries +===== --not +Import items that *don't* match search/tag/date filters + + + ===== --only_timed Only import items with recorded time intervals @@ -685,6 +735,11 @@ Allow entries that overlap existing times +===== -x|--exact +Force exact search string matching (case sensitive) + + + ==== Command: last Show the last entry, optionally edit @@ -724,6 +779,16 @@ Edit entry with vim +===== --not +Show items that *don't* match search string or tag filter + + + +===== -x|--exact +Force exact search string matching (case sensitive) + + + ==== Command: later ENTRY Add an item to the Later section @@ -806,6 +871,11 @@ Select item(s) to flag from a menu of matching entries +===== --not +Flag items that *don't* match search/tag/date filters + + + ===== -r|--remove Remove flag @@ -816,6 +886,11 @@ Flag last entry (or entries) not marked @done +===== -x|--exact +Force exact search string matching (case sensitive) + + + ==== Command: meanwhile ENTRY Finish any running @meanwhile tasks and optionally create a new one @@ -900,11 +975,21 @@ Select item for new note from a menu of matching entries +===== --not +Add note to item that *doesn't* match search/tag filters + + + ===== -r|--remove Replace/Remove last entry's note (default append) +===== -x|--exact +Force exact search string matching (case sensitive) + + + ==== Command: now|next ENTRY Add an entry @@ -1075,7 +1160,7 @@ Boolean (AND|OR|NOT) with which to combine multiple tag filters ===== -s|--section NAME -Set the start date of an item to now +Limit search to section [Default Value] All @@ -1099,11 +1184,21 @@ Select from a menu of matching entries +===== --not +Reset items that *don't* match search/tag filters + + + ===== -r|--[no-]resume Resume entry (remove @done) +===== -x|--exact +Force exact search string matching (case sensitive) + + + ==== Command: rotate Move entries to archive file @@ -1154,6 +1249,16 @@ Tag filter, combine multiple tags with a comma. Added for compatibility with oth [Default Value] None +===== --not +Rotate items that *don't* match search string or tag filter + + + +===== -x|--exact +Force exact search string matching (case sensitive) + + + ==== Command: sections List sections @@ -1260,11 +1365,21 @@ Use --no-menu to skip the interactive menu. Use with --query to filter items and +===== --not +Select items that *don't* match search/tag filters + + + ===== -r|--remove Reverse -c, -f, --flag, and -t (remove instead of adding) +===== -x|--exact +Force exact search string matching (case sensitive) + + + ==== Command: show [SECTION|@TAGS] List all entries @@ -1366,6 +1481,11 @@ Select from a menu of matching entries to perform additional operations +===== --not +Show items that *don't* match search/tag/date filters + + + ===== --only_timed Only show items with recorded time intervals @@ -1381,6 +1501,11 @@ Show intervals with totals at the end of output +===== -x|--exact +Force exact search string matching (case sensitive) + + + ==== Command: since DATE_STRING List entries since a date @@ -1501,6 +1626,11 @@ Select item(s) to tag from a menu of matching entries +===== --not +Tag items that *don't* match search/tag filters + + + ===== -r|--remove Remove given tag(s) @@ -1516,6 +1646,11 @@ Tag last entry (or entries) not marked @done +===== -x|--exact +Force exact search string matching (case sensitive) + + + ==== Command: template TYPE Output HTML, CSS, and Markdown (ERB) templates for customization @@ -1690,6 +1825,11 @@ Select from a menu of matching entries to perform additional operations +===== --not +Show items that *don't* match search string + + + ===== --only_timed Only show items with recorded time intervals (override view settings) @@ -1705,6 +1845,11 @@ Show intervals with totals at the end of output +===== -x|--exact +Force exact search string matching (case sensitive) + + + ==== Command: views List available custom views diff --git a/lib/doing/version.rb b/lib/doing/version.rb index 7a79d3a3..042001ba 100644 --- a/lib/doing/version.rb +++ b/lib/doing/version.rb @@ -1,3 +1,3 @@ module Doing - VERSION = '2.0.7.pre' + VERSION = '2.0.8.pre' end