Skip to content

v0.8.0: Improve configuration, add new report command, add group_by arguments and more...

Choose a tag to compare

@coko7 coko7 released this 24 Apr 07:52
· 10 commits to main since this release

What's Changed

Configuration

Added new configuration settings for customizing default command behaviors when no argument provided:

database_path = "/home/<user>/.config/boat/boat.db"
period = "all"
format = "plain"

[commands.new]
auto_start = false

[commands.start]
quick_start = true

[commands.cancel]
confirm = true

[commands.edit]
show_instructions = true
show_activity_definitions = true
confirm = true

[commands.delete]
confirm = true

[commands.list]
period = "month"
group_by = "day"

[commands.report]
period = "day"

Commands

  • add new command report to replace list --summary mode
  • update start command to allow to quick start a new activity if given an argument that is not purely a number (can be disabled in config file or with arguments)
    boat start 1 -> will start tracking time for an existing activity with ID 1
    boat start 'new activity' -> will create a new activity and start it (same as boat new 'new actvity --start-now)
  • update sensitive commands (modify, edit, cancel, delete) to ask user for confirmation by default (can be disabled in config file or with arguments)
  • remove query command

Args

  • add --group-by (day, week, month, year, none) in list command
  • remove --no-grouping argument (now use --group-by=none)
  • update --period argument to accept a date or date range
  • remove --date argument (now merged with --period)
  • drop support for boundary inclusion '=' in date ranges (the end date is now always included)
  • add many 'toggle flags' arguments:
    • --start-now and --no-start-now for new command
    • --confirm and--no-confirm for edit, update, cancel and delete commands
    • --with-instructions, --no-instructions, --with-activity-definitions, --no-activity-definitions for edit command
  • add support for hiding activity definitions in edit file by setting --no-activity-definitions

Misc

  • refactor and split modules
  • improve test coverage (mainly using Claude)
  • v0.8: Improve configuration, add new report command, add group_by arguments and more... by @coko7 in #5

Full Changelog: v0.7.0...v0.8.0