Commit Graph

212 Commits

Author SHA1 Message Date
jdb a273091dc7 Update to nim 2.2.8, cliutils 0.11.1 4.33.1 2026-03-09 13:30:55 -05:00
jdb e35bd9f85a Don't ignore '#' in issue details. 4.33.0 2026-02-24 08:57:24 -06:00
jdb 3d8fafd7b2 The edit command can now be called non-interactively to set properties/tags. 4.32.1 2026-02-08 05:50:30 -06:00
jdb 7d5d55d24a Add update-details command to allow setting an issue details via CLI non-interactively. 4.32.0 2026-02-08 05:10:55 -06:00
jdb 89c924bb72 Only emit ANSI escape codes when stdout is a TTY. 4.31.2 2025-12-01 18:07:03 -06:00
jdb 3d1dc7512a Allow including or excluding properties by name only. 4.31.1 2025-12-01 14:04:19 -06:00
jdb 1d18be9d1b Include issues without project or milestone on boards.
In order to help organize issues, show issues on boards even if they
don't have an assigned project or milestone.

Refactor the issue hiding feature (using the `hide-until` property) to
be an option to IssueFilter rather than a separate, special-case. This
means that the CLI always filters by default.

Hide issues in the Done state on project boards unless the new
`--show-done` arg is passed.
2025-12-01 13:50:13 -06:00
jdb 6ceca9b009 Make add interactive and allow defining default properties that should be prompted. 4.31.0 2025-11-24 10:47:22 -06:00
jdb de07665a8b Project boards: only show contexts with selected issues. 4.30.1 2025-11-19 19:00:01 -06:00
jdb 5dd7a15bf4 Add support for a project view like virtual-status-board.probatem.com 4.30.0 2025-11-19 17:12:14 -06:00
jdb 6ac068fe75 Move getIssueContextDisplayName to libpit (out of formatting module). 2025-11-19 17:11:21 -06:00
jdb 759d00e2f8 Move filter logic earlier in CLI processing, support state filtering. 2025-11-19 17:10:14 -06:00
jdb bc37640f2e Bump Nim version to 2.2.6. 2025-11-19 17:08:01 -06:00
jdb 3ee5bdf8fd Support for syncing all properties (including context) to Probatem's Virtual Status Board. 4.29.2 2025-08-02 22:44:04 -05:00
jdb 85d561c8a5 Update Nim pinned version, drop jester dependency (pit_api currently not supported). 2025-05-06 14:45:08 -05:00
jdb 1064de3e1b Add support for syncing the parent property (if it exists). 4.29.1 2025-01-13 08:16:07 -06:00
jdb 8b0c751344 Bump version for 4.29.0 release. 4.29.0 2025-01-11 11:59:52 -06:00
jdb 0f7e257f76 Cap output width to 80 characters max. 2025-01-11 11:59:17 -06:00
jdb 76225d1c50 Add the autoSync config property to automatically sync contexts after relevant issues change. 2025-01-11 11:58:47 -06:00
jdb 0361d1b869 Add the --silent option to allow suppressing log output. 2025-01-11 11:58:02 -06:00
jdb 40cb602362 Add support for syncing to Probatem's Virtual Status Board. 4.28.0 2025-01-09 11:57:32 -06:00
jdb e2a306c1d6 Refactor to clean up package source structure. 2025-01-08 18:07:19 -06:00
jdb e955cd5b24 Add list tags sub-command, accept properties update to the edit command. 4.27.0 2025-01-06 10:38:47 -06:00
jdb 4176dfea3a Migrate from asdf to mise. 2024-12-10 10:00:53 -06:00
jdb 587e3c4509 Update for Nim 2.x. No longer building pit_api.
`pit_api` cannot be built for Nim 2.x without a non-trivial refactor due
to the enforcement of gc-safety. See the `pit_api.nim` source for
details.
4.26.0
2024-11-30 08:08:40 -06:00
jdb f6a97c384a Use update_nim_package_version from the package repository. 2024-11-30 07:56:55 -06:00
jdb 0c3d73dc2b Add debug logging when changing the state of an issue. 4.25.2 2024-08-12 10:52:51 -05:00
jdb 9a0bf35882 Add asdf tool-versions definitions pinning this to Nim 1.6 2024-05-10 11:58:35 -05:00
jdb be7c099b7b Format listed issues plainly when STDOUT is not a TTY 4.25.1 2024-01-01 12:55:01 -06:00
jdb d04797460c Format listed issues plainly when STDIN is not a TTY
When calling pit from other programs or as part of a pipe, the display
style typically used to format listed issues contains a lot of unwanted
output (ANSI escape code, headings, etc.). Now when STDIN is not a TTY,
a plain and consistently formatted version of the issues is listed
without any additional formatting, one issue per line of output.
4.25.0
2024-01-01 12:47:43 -06:00
jdb 8cf0bf5d98 Change how time entries based on PIT issues are logged when using --ptk. 4.24.1 2023-12-17 07:32:46 -06:00
jdb ddad90ddef Add examples to the online help for all special properties. 2023-12-15 21:34:38 -06:00
jdb 34ce2b61b9 When creating new recurrences, put them in the TodoToday state, not Todo. 4.24.0 2023-07-06 08:07:22 -05:00
jdb 661d5959c6 Add show-dupes command, fix BareExcept warnings. 4.23.4 2023-05-19 09:24:53 -05:00
jdb 6665f09b7b Fixed missed version bump in cliconstants. 4.23.3 2023-05-19 09:05:02 -05:00
jdb bcb1c7c17c Extract logic for locating the config file to the cliutils library. 2023-05-13 07:30:25 -05:00
jdb b0e3f5a9d8 Expose issue formating functionality. 4.23.2 2023-03-21 11:11:44 -05:00
jdb fee4ba70a6 Update state field when changing an issue's state. 4.23.1 2023-03-21 10:27:25 -05:00
jdb 171adbb59d Make IssueState available as a field on Issue.
* Add `state` on `Issue` to be able to query the state of an issue even
  if you only have a reference to this issue and don't have a reference
  to the context or issues table. This does not change the persisted
  format of the issue. On disk the state of an issue is still
  represented by it's location in the file hierarchy.

* Refactored libpit to use zero_functional instead of sequtils.
4.23.0
2023-03-21 08:30:29 -05:00
jdb d01d6e37f4 Update timeutils version to include support for the shorter ISO8601 date format. 4.22.2 2023-02-28 23:29:06 -06:00
jdb b98596574d Add find utility method for searching for issues among multiple issue states. 4.22.1 2023-02-17 12:12:13 -06:00
jdb ea9f8ea7ac Move issue loading logic into the publicly-exposed library methods. 4.22.0 2023-02-16 11:07:09 -06:00
jdb ae4a943e82 Allow access to pit functionality as a Nim libaray. 4.21.2 2023-02-16 09:07:02 -06:00
jdb 58a5321d95 Rework dependencies using JDB Softwar package repo instead of URLs. 4.21.1 2023-02-13 08:48:40 -06:00
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