Skip to content

Releases: estebanthi/habits.txt

1.1.0

10 Jun 09:39
Compare
Choose a tag to compare

New features:

  • Habit streak stats with command hbtxt info
  • New flag ignore-missing for commands to don't include missing records in stats computations: hbtxt info --ignore-missing
  • tracked command to list tracked habits at a given date: hbtxt tracked
  • Support for custom metadata in directives. Example: 2024-01-01 "Meditation" meta1:value1 meta2:value2 yes. Then, we can filter by metadata: hbtxt filter -m meta1:value1. Filtering by metadata is supported by info and chart commands even if the completion rate in this case is not really meaningful, but it can be useful to see the number of records matching a given metadata filter.

1.0.0

07 Jun 21:16
Compare
Choose a tag to compare

New features:

  • --version flag to check installed version: hbtxt --version
  • --no-comment flag for fill command to avoid inserting a comment
  • Natural language dates support, for example hbtxt info --start "7 days ago" --end "yesterday"
  • Possibility to pass multiple --name options, for example to filter several habits: hbtxt info --name "Habit 1" --name "Habit 2"
  • charts command to open a chart showing habits stats in the web browser. More information: hbtxt charts --help
  • New configuration options:
    • date-fmt to change the date format used in the journal (default %Y-%m-%d
    • comment-char to change the comment character (default #)

0.4.0

05 Jun 08:55
Compare
Choose a tag to compare
  • New options for fill command to allow filling several days from the given start date to the given end date in one command:
    • -s: start date, defaults to the first date found in the journal (when an end date is provided)
    • -e: end date, defaults to today (when a start date is provided)
    • -m: missing -> fill all days from the first date found in the journal to today. Shorthand for -e today
  • New special value in interactive fill: save -> allow saving the current input to the journal, and exit the CLI

Example: hbtxt fill -s 2024-01-01 -e 2024-02-01 -i. I'll have to fill a lot of days, so if I want to stop entering values at some time but still save my progress, I'll just enter save.

0.3.7

20 May 08:02
Compare
Choose a tag to compare
  • Support for cron special strings ("daily", "weekly"...)

0.3.6

17 May 13:09
Compare
Choose a tag to compare
fix Makefile

0.3.5

17 May 10:10
Compare
Choose a tag to compare
v0.3.5