Skip to content

v0.8: Improve configuration, add new report command, add group_by arguments and more...#5

Merged
coko7 merged 8 commits intomainfrom
feat-report
Apr 24, 2026
Merged

v0.8: Improve configuration, add new report command, add group_by arguments and more...#5
coko7 merged 8 commits intomainfrom
feat-report

Conversation

@coko7
Copy link
Copy Markdown
Owner

@coko7 coko7 commented Apr 23, 2026

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)

@coko7 coko7 changed the title v0.8: List/Report, Configuration and group_by v0.8: Improve configuration, add new report command, add group_by arguments and more... Apr 24, 2026
@coko7 coko7 self-assigned this Apr 24, 2026
@coko7 coko7 added the enhancement New feature or request label Apr 24, 2026
@coko7 coko7 merged commit c69cddd into main Apr 24, 2026
5 checks passed
@coko7 coko7 deleted the feat-report branch April 24, 2026 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant