Commit Graph

168 Commits

Author SHA1 Message Date
jdb 7215b4969b Re-design output to make skimming easier.
- We now always protect the left margin when printing task details
  (including tags) to make it easier to skim down that line.
- Also made the actual summary always follow immediately after the ID,
  to align to that skimmable line.
- Moved the information about the delegatee to the end of the summary,
  next to the tags, and changed the color of the delegatee to make it
  easier to distinguish.
- Added the `-G` option, to allow filtering out issues matching any of
  the provided tags.
- We now allow options to be passed to both the `delegate` and `help`
  command. Any options are ignored, but this allows the use of tools
  like `cmd_shell` which always wrap commands with the pre-given
  options.
4.21.0
2022-07-31 20:01:39 -05:00
jdb c7891de310 Show Pending in either Today's list of the Future list, but not both at the same time. 4.20.0 2022-07-28 10:48:51 -05:00
jdb a373af0658 Add support for filtering based on property exclusion.
For example, allow commands like:

  # exclude issues from context "abc"
  pit list -C abc

  # exclude issues delegated to John Doe
  pit list -P "delgated-to:John Doe"
4.19.0
2022-07-22 10:39:13 -05:00
jdb de3ee05680 Change logging format. 4.18.2 2022-01-22 10:31:58 -06:00
jdb 59440d2c9d Remove unused, old copies of usage and outline text. 2022-01-21 15:01:07 -06:00
jdb 6226ff21c5 Fix compile-time message includes when installing via Nimble. 4.18.1 2022-01-21 14:59:22 -06:00
jdb 71e035fdbe Add --show-hidden to ignore hide-until properties. 4.18.0 2022-01-04 22:27:08 -06:00
jdb df854f864c When completing an issue, print info about any new issue created by recurrence. 4.17.0 2021-09-21 10:14:49 -05:00
jdb 7bccd83e23 Add support for issue recurrence. 4.16.0 2021-09-17 13:51:37 -05:00
jdb b25d2be164 Adding more comrehensive documentaition regaring issue types and properties. 4.15.0 2021-09-16 23:31:12 -05:00
jdb e0ab3cb401 Include Pending in the 'today' view. Allow listing multiple issues or states. 4.14.0 2021-08-30 11:49:35 -05:00
jdb d93c0cf348 Add the ability to hide tasks until a certain date. 4.13.0 2021-08-24 10:56:47 -05:00
jdb 9606e71cec Add support for binary properties via data URIs. 4.12.0 2021-06-07 18:34:41 -05:00
jdb 98f4dda1ad Reset terminal attributes after printing single issues. 4.11.1 2021-02-01 07:41:01 -06:00
jdb 393be347c9 Default list command no longer includes Done issues. 4.11.0 2020-11-12 14:50:43 -06:00
jdb f8fed9d937 Allow filtering by issue tags. 4.10.0 2020-11-12 07:37:22 -06:00
jdb ef16eafd48 Update to address changes for Nim 1.x (currently 1.4.0). 4.9.4 2020-11-12 04:05:04 -06:00
jdb 4af0d09356 Remove stuff in the README that I don't understand. 🤷 2020-10-02 12:33:51 -05:00
jdb 071c4b66e5 Explicitly document list contexts subcommand. Sort listed contexts alphabetically. 4.9.3 2020-10-02 12:13:22 -05:00
jdb 57a3af4f2f When moving issues, create target directories if they do not already exist. 4.9.2 2020-07-06 11:47:31 -05:00
jdb 08b9df2086 Update to reflect changes in Nim stdlib in v1.2. 4.9.1 2020-07-06 11:39:57 -05:00
jdb 339e88cddd list contexts command now prints both the listeral context value and the display name. 4.9.0 2020-05-05 09:40:08 -05:00
jdb 0a2249018b Add ptk integration option as a command-line switch. 4.8.0 2020-04-16 10:22:56 -05:00
jdb ec3008937d Add README, bugfix CLI configuration. 2020-03-23 09:18:44 -05:00
jdb 10fcc34ea2 Update nim-cli-util dependency version to get a fix to the queryParamsToCli function. 4.7.1 2020-03-23 08:27:30 -05:00
jdb 4127fbe41c Better PTK integration.
- Now includes the context as a PTK tag (if present).
- Add the PIT ID to the PTK notes.
4.7.0
2020-03-16 09:39:17 -05:00
jdb 0671d7728e Add helper to update version easily. 4.6.2 2020-02-16 00:57:58 -06:00
jdb 7b5f26f24a Update dependency references to use full URLs to non-central libs. 4.6.1 2020-02-14 11:21:54 -06:00
Jonathan Bernard db3e648d47 Add tag and untag commands. 4.6.0 2019-04-18 07:43:08 -05:00
jdb 476a94c679 Add property removal behavior: specifying a property with no value removes it. 4.5.0 2019-01-24 22:30:20 -06:00
jdb 65edc56e08 Add delegate command. 4.4.4 2019-01-18 18:51:51 -06:00
jdb d4db66a71e Updates to compile on Nim 0.19 4.4.3 2019-01-17 13:18:25 -06:00
jdb f8ccc831ef WIP Updates to compile on Nim 0.19. 2019-01-17 11:02:46 -06:00
Jonathan Bernard 93a0a15f12 Refactored to move HTTP query params to CLI arguments translation into the cliutils package. 4.4.2 2018-10-01 21:39:35 -05:00
Jonathan Bernard dc31d590a0 Add GET /issue/<issueId> API endpoint. 2018-10-01 11:22:48 -04:00
Jonathan Bernard 8b46cc19d8 Rename variable to avoid overloading the name. 2018-10-01 11:22:31 -04:00
Jonathan Bernard 567c2d2178 Fix a bug when asking to move an issue to the state it's already in. 4.4.1 2018-06-25 11:40:25 -05:00
Jonathan Bernard 08dfbde57f Add the ability to order issues. 4.4.0 2018-06-11 12:11:26 -05:00
Jonathan Bernard a924d7b649 Add filters for text-matching on issue summary or details. 2018-06-11 10:19:10 -05:00
Jonathan Bernard 2404f6a3d1 Add the ability to edit all issues in a given state. 4.3.0 2018-06-06 09:43:31 -05:00
Jonathan Bernard 2b5f82203c Add list contexts, refactor display logics.
* Refactor formatting logic to better calculate needed padding between
  issues and sections.
* Add `list contexts` command to list all known contexts according to
  the contexts configuration and the contexts defined in issues.
* Be more intentional about when the default context is used. Don't
  override existing context values in issues when changing their state.
* `edit` now allows multiple issues to be edited.
* Change single-issue display to be more verbose, listing all the
  properties and tags on an issue.
4.2.0
2018-05-29 14:24:18 -05:00
Jonathan Bernard 29959a6a8d Add REST API. Refactor config logic.
The REST API is simply a wrapper around the command line (and actually
invokes the command line). It relies on the command line tool validating
its input.

Currently only the `/list` endpoint is implemented, exposing the `list`
command.
4.1.0
2018-05-18 16:06:58 -05:00
Jonathan Bernard 6f247032a3 Add created property when creating issues. 4.0.7 2018-05-14 17:17:47 -05:00
Jonathan Bernard efd5f6adff Add versbose flag, list specific issue. 4.0.6 2018-05-14 12:21:05 -05:00
Jonathan Bernard 49c5753ef1 Add rm as an alias for delete. 4.0.5 2018-05-14 10:09:33 -05:00
Jonathan Bernard 3bdb2ecb1f Fix padding issue in context listing. 4.0.4 2018-05-14 10:04:24 -05:00
Jonathan Bernard 28569a643e Added Dormant state, auto-create task dirs.
The Dormant state is for tasks that are still outstanding but not of
immediate importance. The main different between Dormant and Todo is
that dormant tasks are not listed by default. You must
`pit list dormant` to see them.
4.0.3
2018-05-14 09:53:15 -05:00
Jonathan Bernard 97eb286e32 Reorganize project folder structure to work according to nimble package expectations. 4.0.2 2018-05-14 09:36:23 -05:00
Jonathan Bernard fcab7a4cc6 Added add (alias for new) and delete. 4.0.1 2018-05-14 09:28:50 -05:00
Jonathan Bernard 20c82ea9ba Fix version string. 4.0.0 2018-05-14 09:13:44 -05:00